|
| Services |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
java.lang.Object | +--com.sas.services.ServiceConfiguration
Configuration data for a service.
A map is employed to store a service's various configurations.
| Fields inherited from interface com.sas.services.ServiceConfigurationInterface |
CONFIGURATION_METADATA_SOURCE, CONFIGURATION_SERVICE_DISCOVERY |
| Constructor Summary | |
ServiceConfiguration()
Constructs a default instance of a service configuration which is basically a map of 0..* ancillary configurations. |
|
ServiceConfiguration(Object initializationObject)
Constructs an instance with the specified initialization object. |
|
| Method Summary | |
void |
addServiceConfiguration(Object key,
ServiceConfigurationInterface serviceConfiguration)
Adds a service configuration keyed by the specified value. |
Object |
getInitializationObject()
Gets an object that is to be used to initialize or reconfigure a service. |
ServiceConfigurationInterface |
getServiceConfiguration(Object key)
Gets the ancillary service configuration associated with the specified key. |
Iterator |
getServiceConfigurations()
Gets an interator of all of the ancillary service configurations. |
void |
removeServiceConfiguration(Object key)
Removes the ancillary service configuration associated with the specified key. |
void |
setInitializationObject(Object initializationObject)
Sets an object that is to be used to initialize or reconfigure a service. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ServiceConfiguration()
public ServiceConfiguration(Object initializationObject)
initializationObject - An object to be used to initialize.| Method Detail |
public final void addServiceConfiguration(Object key,
ServiceConfigurationInterface serviceConfiguration)
addServiceConfiguration in interface ServiceConfigurationInterfacekey - Key to be associated with this configuration.serviceConfiguration - A configuration to be associated with
the service using the spcified key.IllegalArgumentException - if a parameter is specified which
is null or not serializable.public final void removeServiceConfiguration(Object key)
removeServiceConfiguration in interface ServiceConfigurationInterfacekey - Ancillary service configuration lookup key.public final ServiceConfigurationInterface getServiceConfiguration(Object key)
getServiceConfiguration in interface ServiceConfigurationInterfacekey - Ancillary service configuration lookup key.null if a configuration
is not defined for the key.public final Iterator getServiceConfigurations()
getServiceConfigurations in interface ServiceConfigurationInterfacepublic final Object getInitializationObject()
getInitializationObject in interface ServiceConfigurationInterfacepublic final void setInitializationObject(Object initializationObject)
setInitializationObject in interface ServiceConfigurationInterfaceinitializationObject - Object containing data to initialize or
reconfigure a service.
|
| Services |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||