|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.services.AbstractServiceAttributeFactory
public abstract class AbstractServiceAttributeFactory
Abstract implementation of a factory used to manufacture a service attribute. A service attribute is used in the context of the Discovery service as an optional qualifier used to discover a service.
A service may employ service attributes to distinguish itself from other services that satisfy the same service types. This permits a client to seek not only a service satisfying particular service type(s), but also optionally specified service attributes.
ServiceAttributeFactoryInterface
Constructor Summary | |
---|---|
AbstractServiceAttributeFactory()
|
Method Summary | |
---|---|
abstract ServiceAttributeInterface |
getServiceAttribute(java.util.Map nameValueMap)
Abstract method used to get a service attribute with its fields initialized with values obtained from the specified map. |
ServiceAttributeInterface |
getServiceAttribute(ServiceConfigurationInterface serviceConfiguration)
Gets the service attribute from the provided service configuration. |
Constructor Detail |
---|
public AbstractServiceAttributeFactory()
Method Detail |
---|
public final ServiceAttributeInterface getServiceAttribute(ServiceConfigurationInterface serviceConfiguration) throws InitializationException
getServiceAttribute
in interface ServiceAttributeFactoryInterface
serviceConfiguration
- Service configuration containing the service attribute.
InitializationException
- if unable to get the service attribute.public abstract ServiceAttributeInterface getServiceAttribute(java.util.Map nameValueMap) throws InitializationException
nameValueMap
- A Map
of name value pairs where the
key is the name of the attribute's field.
InitializationException
- if unable to get a service
attribute based upon values specified in the map.
|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |