org.wikitty.hessian
Class WikittyHessianFactory
java.lang.Object
org.wikitty.hessian.WikittyHessianFactory
public class WikittyHessianFactory
- extends Object
Wikitty hessian client factory.
- Version:
- $Revision: 1136 $
Last update : $Date: 2011-08-12 16:24:03 +0200 (ven, 12 aoĆ» 2011) $
By : $Author: tchemit $
- 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-2012 CodeLutin. All Rights Reserved.