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

com.sas.services.discovery
Class ServiceGroupAttribute

com.sas.services.discovery.ServiceGroupAttribute
All Implemented Interfaces:
ServiceAttributeInterface, java.io.Serializable

public class ServiceGroupAttribute

A service attribute that denotes membership in a group of software components.

This attribute may be used by a service to define its service discovery configuration which will permit service requesters to find a service that is a member of a particular service group.

Since:
1.0
See Also:
Serialized Form

Field Summary
 java.lang.String group
          Name of the service's deployment group.
 
Constructor Summary
ServiceGroupAttribute()
          Constructs a default instance with an unspecified group.
ServiceGroupAttribute(java.lang.String attributeGroup)
          Constructs an instance of using the specified group.
 
Method Summary
 java.util.Map<java.lang.String,java.lang.String> getFieldNameToValueMap()
          Gets a map of this attribute's fields and their values which includes the deployment group plus fields defined in the superclass.
 
Methods inherited from class com.sas.services.AbstractServiceAttribute
equals, hashCode, toString
 

Field Detail

group

public java.lang.String group
Name of the service's deployment group.

Constructor Detail

ServiceGroupAttribute

public ServiceGroupAttribute()
Constructs a default instance with an unspecified group.


ServiceGroupAttribute

public ServiceGroupAttribute(java.lang.String attributeGroup)
Constructs an instance of using the specified group. Use null to specify a "don't care" parameter.

Parameters:
attributeGroup - The group's name (i.e. "Core Platform Services", null).
Method Detail

getFieldNameToValueMap

public java.util.Map<java.lang.String,java.lang.String> getFieldNameToValueMap()
Gets a map of this attribute's fields and their values which includes the deployment group plus fields defined in the superclass.

Overrides:
getFieldNameToValueMap in class AbstractServiceAttribute
Returns:
Map keyed by the String names of a field to their values.

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




Copyright © 2009 SAS Institute Inc. All Rights Reserved.