com.sas.services.deployment
Class DeployableServiceFactory
java.lang.Object
|
+--com.sas.services.deployment.DeployableServiceFactory
- public final class DeployableServiceFactory
- extends Object
Factory used to manufacture a
deployable service
from a ServiceComponent.
- Since:
- 1.0
|
Field Summary |
static String |
PROPERTYNAME_INITDATA
Value of a metdata Property's PropertyName
attribute that designates a property specifying platform service
initialization data. |
static String |
PROPERTYROLE_INITIALIZATION
Value of a metdata StoredText's Role
attribute that designates that the text string is used for
initialization purposes. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PROPERTYNAME_INITDATA
public static final String PROPERTYNAME_INITDATA
- Value of a metdata
Property's PropertyName
attribute that designates a property specifying platform service
initialization data. This value is "INIT_DATA"
PROPERTYROLE_INITIALIZATION
public static final String PROPERTYROLE_INITIALIZATION
- Value of a metdata
StoredText's Role
attribute that designates that the text string is used for
initialization purposes. This value is "initialization"
getDeployableService
public static final DeployableService getDeployableService(ServiceComponent serviceComponent,
String[] requiredServiceTypes,
SoftwareComponent softwareComponent)
throws ServiceException
- Gets a deployable service from the service component.
Default RMI client/server socket factories will be used if
this service is configured to be remotely accessed.
- Parameters:
serviceComponent - Deployed component from metadata source.requiredServiceTypes - Desired service types.softwareComponent - The SoftwareComponent representing the service
deployment associated with this ServiceComponent.- Returns:
- Deployable service.
- Throws:
ServiceException - if unable to obtain a deployable service.
getDeployableService
public static final DeployableService getDeployableService(ServiceComponent serviceComponent,
String[] requiredServiceTypes,
SoftwareComponent softwareComponent,
MetadataSourceInterface metadataSource)
throws ServiceException
- Gets a deployable service from the service component.
- Parameters:
serviceComponent - Deployed component from metadata source.requiredServiceTypes - Desired service types.softwareComponent - The SoftwareComponent representing the service
deployment associated with this ServiceComponent.metadataSource - Metadata source which may define the RMI client/server
socket factories to be used to export remote objects.- Returns:
- Deployable service.
- Throws:
ServiceException - if unable to obtain a deployable service.
getServiceConfiguration
public static final ServiceConfigurationInterface getServiceConfiguration(ServiceComponent serviceComponent,
LoggerInterface logger)
throws ServiceException
- Creates a service configuration for the specified service.
- Parameters:
serviceComponent - Service component for which a
service configuration is to be created.logger - Foundation logger or null if
logging is not desired.- Returns:
- Service configuration for the service component.
- Throws:
ServiceException - if unable to create a service configuration.IllegalArgumentException - if an invalid parameter is specified.
Copyright © 2006 SAS Institute Inc. All Rights Reserved.
javadoc generated Fri, 10 Feb 2006 17:28:53