public interface ServiceProxy<T>
initialized and returned by
ServicesBroker.getService(Class). The proxy class must have
a no-arg constructor.
Dependant on the use case (see Service.getProxyClass()) implementing classes must either implement the
related communication interface specified in Service.getServiceInterface() (use case: caching) or an
additional interface (use case: e.g. serialization). To request the service instance via
ServicesBroker.getService(Class) use that additional use case dependant interface.Service.getProxyClass()| Modifier and Type | Method and Description |
|---|---|
void |
init(T service,
Connection connection)
Initializes this service proxy.
|
void init(T service, Connection connection)
service - service itself.connection - current connection.Copyright © 2015 e-Spirit AG. All Rights Reserved. Build 5.1.408