|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.services.session.SessionServiceFactory
public class SessionServiceFactory
Factory used to manufacture a session service.
The manufactured service will implement the following interfaces:
The service created by this factory depends upon another service to provide the following capability:
ServiceFactoryInterface
Constructor Summary | |
---|---|
SessionServiceFactory()
Constructs a default instance. |
Method Summary | |
---|---|
static SessionServiceInterface |
createService(ServiceConfigurationInterface serviceConfiguration,
DiscoveryServiceInterface discoveryService)
Gets a Session service initialized with the specified configuration. |
RemoteServiceInterface |
getService(ServiceConfigurationInterface serviceConfiguration,
DiscoveryServiceInterface discoveryService)
Gets a Session service initialized with the specified configuration. |
Methods inherited from class com.sas.services.AbstractServiceFactory |
---|
getService, getServiceProfile, isSingletonFactory |
Constructor Detail |
---|
public SessionServiceFactory()
Method Detail |
---|
public final RemoteServiceInterface getService(ServiceConfigurationInterface serviceConfiguration, DiscoveryServiceInterface discoveryService) throws ServiceException
getService
in interface ServiceFactoryInterface
getService
in class AbstractServiceFactory
serviceConfiguration
- Service configurationdiscoveryService
- Discovery service to which the service will be registered.
SessionServiceInterface
.
ServiceException
- if unable to create a Session service.AbstractServiceFactory.getService(ServiceConfigurationInterface)
public static final SessionServiceInterface createService(ServiceConfigurationInterface serviceConfiguration, DiscoveryServiceInterface discoveryService) throws ServiceException
serviceConfiguration
- Service configurationdiscoveryService
- Discovery service to which the service will be registered.
SessionServiceInterface
.
ServiceException
- if unable to create a Session service.
|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |