de.espirit.firstspirit.module
Interface ServiceProxy<T>


public interface ServiceProxy<T>

A service proxy is an optional, client-side service implementation. It will be instantiated, initialized and returned by Connection.getService(String). The proxy class must have a no-arg constructor and must implement the services interface itself.

Since:
4.1

Method Summary
 void init(T service, Connection connection)
          Initializes this service proxy.
 

Method Detail

init

void init(T service,
          Connection connection)
Initializes this service proxy. This method is called before the instance is used.

Parameters:
service - service itself.
connection - current connection.
Since:
4.1


Copyright © 2012 e-Spirit AG. All Rights Reserved. Build 4.2.480