***  This class provides Binary Compatibility only, not Source Compatibility  ***

com.sas.services.session
Class SessionServiceFactory

com.sas.services.session.SessionServiceFactory
All Implemented Interfaces:
ServiceFactoryInterface

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:

Since:
1.0
See Also:
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

SessionServiceFactory

public SessionServiceFactory()
Constructs a default instance.

Method Detail

getService

public final RemoteServiceInterface getService(ServiceConfigurationInterface serviceConfiguration,
                                               DiscoveryServiceInterface discoveryService)
                                        throws ServiceException
Gets a Session service initialized with the specified configuration.

Specified by:
getService in interface ServiceFactoryInterface
Specified by:
getService in class AbstractServiceFactory
Parameters:
serviceConfiguration - Service configuration
discoveryService - Discovery service to which the service will be registered.
Returns:
A service that implements SessionServiceInterface.
Throws:
ServiceException - if unable to create a Session service.
See Also:
AbstractServiceFactory.getService(ServiceConfigurationInterface)

createService

public static final SessionServiceInterface createService(ServiceConfigurationInterface serviceConfiguration,
                                                          DiscoveryServiceInterface discoveryService)
                                                   throws ServiceException
Gets a Session service initialized with the specified configuration.

Parameters:
serviceConfiguration - Service configuration
discoveryService - Discovery service to which the service will be registered.
Returns:
A service that implements SessionServiceInterface.
Throws:
ServiceException - if unable to create a Session service.

***  This class provides Binary Compatibility only, not Source Compatibility  ***




Copyright © 2009 SAS Institute Inc. All Rights Reserved.