com.trendmicro.grid.acl.client
Class AbstractClient<T extends Service>

java.lang.Object
  extended by com.trendmicro.grid.acl.client.AbstractClient<T>

public abstract class AbstractClient<T extends Service>
extends Object

Is a base class for Spring Services that act as client proxy providers.

Version:
1.0
Author:
juergen_kellerer, 2010-05-14

Field Summary
protected  SharedClientServiceContext serviceContext
           
protected  Class<? extends T> serviceImplementation
           
 
Constructor Summary
protected AbstractClient(Class<? extends T> serviceImplementation)
           
 
Method Summary
 Class<T> getEndpointInterface()
           
 T getLocalPort()
           
 T getRemotePort(String host)
           
 T getRemotePort(String host, int portNumber, boolean secure)
           
 Class<? extends T> getServiceImplementation()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serviceContext

protected SharedClientServiceContext serviceContext

serviceImplementation

protected final Class<? extends T extends Service> serviceImplementation
Constructor Detail

AbstractClient

protected AbstractClient(Class<? extends T> serviceImplementation)
Method Detail

getEndpointInterface

public Class<T> getEndpointInterface()

getServiceImplementation

public Class<? extends T> getServiceImplementation()

getLocalPort

public T getLocalPort()

getRemotePort

public T getRemotePort(String host)

getRemotePort

public T getRemotePort(String host,
                       int portNumber,
                       boolean secure)