org.wikitty.hessian
Class WikittyHessianFactory
java.lang.Object
org.wikitty.hessian.WikittyHessianFactory
public class WikittyHessianFactory
- extends Object
Wikitty hessian client factory.
- Version:
- $Revision: 452 $
Last update : $Date: 2010-10-27 11:04:19 +0200 (mer., 27 oct. 2010) $
By : $Author: bpoussin $
- Author:
- chatellier
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WikittyHessianFactory
public WikittyHessianFactory()
getWikittyService
public static WikittyService getWikittyService(String serviceEndpoint)
throws WikittyException
- Get hessian wikitty service proxy on remove endpoint.
- Parameters:
serviceEndpoint - service endpoint (full url)
- Returns:
- hessian proxy implementing
WikittyService
- Throws:
WikittyException - if hessian proxy can't be created
getService
public static <S> S getService(Class<S> serviceInterface,
String serviceEndpoint)
throws WikittyException
- Get hessian service proxy on remove endpoint.
- Type Parameters:
S - service type- Parameters:
serviceInterface - service interfaceserviceEndpoint - service endpoint (full url)
- Returns:
- hessian proxy implementing
S
- Throws:
WikittyException - if hessian proxy can't be created
Copyright © 2010-2011 CodeLutin. All Rights Reserved.