|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sun.identity.sm.DefaultValues
The abstract class DefaultValues
provides a mechanism
for services to obtain their default values dynamically instead of
being statically defined in the service XML file stored in the
directory.
An implementation of this class must be specified in the service
configuration XML file in the definition of the respective attribute
schema. Instead of providing the default values in the XML configuration
file, the class name must be specified within the XML node
DefaultValuesClassName
.
Constructor Summary | |
DefaultValues()
|
Method Summary | |
java.lang.String |
getAttributeName()
Returns the name of the attribute for which the default values will be returned. |
org.w3c.dom.Node |
getAttributeSchemaNode()
Returns the XML AttributeSchema node associated
with this attribute |
java.util.Map |
getConfiguredKeyValues()
Returns the configured key-value pairs for the class in the service's configuration file |
abstract java.util.Set |
getDefaultValues()
Abstract method that must be implemented by a class extending this interface, and should return the default values for the attribute. |
java.util.Set |
getDefaultValues(java.util.Map envParams)
Returns a Set of default values for the attribute, given the environment parameters. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DefaultValues()
Method Detail |
public abstract java.util.Set getDefaultValues()
java.util.Set
public java.util.Set getDefaultValues(java.util.Map envParams)
getDefaultValues()
which takes no parameters. The class extending this
class can override this method to take advantage of
the additional environment parameters.
java.util.Set
public final java.lang.String getAttributeName()
public final java.util.Map getConfiguredKeyValues()
public final org.w3c.dom.Node getAttributeSchemaNode()
AttributeSchema
node associated
with this attribute
AttributeSchema
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |