org.objectweb.telosys.service
Interface IServiceProvider

All Known Implementing Classes:
StandardServiceRegistry

public interface IServiceProvider

The "service provider" interface


Method Summary
 ScreenService getService(java.lang.String sServiceName)
          Returns an instance of the service identified by its name
 java.lang.String getSessionKey(java.lang.String sServiceName)
          Returns the key used to store the service result in the ScreenSession
 void init()
          Initializes the screen provider using the current Telosys properties
 

Method Detail

getService

public ScreenService getService(java.lang.String sServiceName)
                         throws TelosysException
Returns an instance of the service identified by its name

Parameters:
sServiceName - the name of the service
Returns:
the service instance
Throws:
TelosysException

getSessionKey

public java.lang.String getSessionKey(java.lang.String sServiceName)
                               throws TelosysException
Returns the key used to store the service result in the ScreenSession

Parameters:
sServiceName - the name of the service
Returns:
the key (can be null if no result storage)
Throws:
TelosysException

init

public void init()
Initializes the screen provider using the current Telosys properties

Since:
1.0.5