|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.services.deployment.ServiceAttribute
public class ServiceAttribute
Represents a service attribute from the perspective of a deployment utility. In order to instantiate a service attribute one must know its fully qualified Java class name and the values for all fields.
Constructor Summary | |
---|---|
ServiceAttribute(java.lang.String attributeClassName)
Constructs an instance specifying the Java class that is to represent an instantiated attribute. |
Method Summary | |
---|---|
java.lang.String |
getAttributeClassName()
Gets the fully qualified name for the Java class that represents the service attribute. |
java.util.Map |
getNameValueMap()
Gets a map that contains attribute name/value pairs representing the fields of a class specifying a service attribute. |
ServiceAttributeInterface |
getServiceAttribute()
Gets the service attribute. |
ServiceAttributeInterface |
getServiceAttribute(ServiceConfigurationInterface serviceConfiguration)
Gets the service attribute. |
void |
put(java.lang.String attributeName,
java.lang.String attributeValue)
Updates the attribute name/value map with an attribute name and its value. |
void |
setAttributeClassName(java.lang.String attributeClassName)
Sets the fully qualified name for the Java class that represents the service attribute. |
java.lang.String |
toString()
Gets a string representation of this instance. |
Constructor Detail |
---|
public ServiceAttribute(java.lang.String attributeClassName)
attributeClassName
- Fully qualified Java class name.Method Detail |
---|
public final java.lang.String getAttributeClassName()
public final void setAttributeClassName(java.lang.String attributeClassName)
attributeClassName
- Fully qualified Java class name.public final void put(java.lang.String attributeName, java.lang.String attributeValue)
attributeName
- Attribute's name.attributeValue
- Attribute's value.public final java.util.Map getNameValueMap()
public final ServiceAttributeInterface getServiceAttribute()
public final ServiceAttributeInterface getServiceAttribute(ServiceConfigurationInterface serviceConfiguration) throws InitializationException
getServiceAttribute
in interface ServiceAttributeFactoryInterface
serviceConfiguration
- Service configuration containing the service attribute.
null
InitializationException
- if an invalid service
configuration is specified.
java.lang.IllegalArgumentException
- if a null
service configuration is specified.ServiceAttributeFactoryInterface.getServiceAttribute(ServiceConfigurationInterface)
public final java.lang.String toString()
toString
in class java.lang.Object
|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |