org.objectweb.telosys.service
Interface IServiceProvider

All Known Implementing Classes:
StandardServiceRegistry

public interface IServiceProvider


Method Summary
 ScreenService getService(java.lang.String sScreenName)
          Return an instance of the service identified by its name
 java.lang.String getSessionKey(java.lang.String sServiceName)
          Return the key used to store the service result in the ScreenSession
 

Method Detail

getService

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

Parameters:
sScreenName -
Returns:
the service instance
Throws:
TelosysException

getSessionKey

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

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