org.wikitty.hessian
Class WikittyHessianFactory

java.lang.Object
  extended by 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

Constructor Summary
WikittyHessianFactory()
           
 
Method Summary
static
<S> S
getService(Class<S> serviceInterface, String serviceEndpoint)
          Get hessian service proxy on remove endpoint.
static WikittyService getWikittyService(String serviceEndpoint)
          Get hessian wikitty service proxy on remove endpoint.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WikittyHessianFactory

public WikittyHessianFactory()
Method Detail

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 interface
serviceEndpoint - 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.