Class DefaultResourcePrincipal
- java.lang.Object
-
- java.util.Observable
-
- org.glassfish.deployment.common.DynamicAttributesDescriptor
-
- org.glassfish.deployment.common.Descriptor
-
- com.sun.enterprise.deployment.runtime.RuntimeDescriptor
-
- com.sun.enterprise.deployment.runtime.common.DefaultResourcePrincipal
-
- All Implemented Interfaces:
Serializable
public class DefaultResourcePrincipal extends RuntimeDescriptor
this class is a shameful duplication of info found in normal descriptors it was kept to be backward compatible with the schema2beans descriptors generated by iAS 7.0 engineering team.- Author:
- Jerome Dochez
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringNAMEstatic StringPASSWORD-
Fields inherited from class com.sun.enterprise.deployment.runtime.RuntimeDescriptor
propListeners
-
Fields inherited from class org.glassfish.deployment.common.Descriptor
DESCRIPTION_CHANGED, DESCRIPTOR_CHANGED, docType, LARGE_ICON_CHANGED, NAME_CHANGED, SMALL_ICON_CHANGED
-
-
Constructor Summary
Constructors Constructor Description DefaultResourcePrincipal()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetName()The name of this descriptor as a String.StringgetPassword()voidsetName(String value)Sets the name of this descriptor.voidsetPassword(String value)booleanverify()-
Methods inherited from class com.sun.enterprise.deployment.runtime.RuntimeDescriptor
addPropertyChangeListener, addPropertyChangeListener, addValue, getAttributeValue, getAttributeValue, getAttributeValue, getValue, getValue, getValues, removePropertyChangeListener, removePropertyChangeListener, removeValue, removeValue, setAttributeValue, setAttributeValue, setAttributeValue, setValue, setValue, size
-
Methods inherited from class org.glassfish.deployment.common.Descriptor
addDescriptorExtension, addPrefixMapping, createUniqueFilenameAmongst, createUniqueNameAmongst, createUniqueNameAmongstNamedDescriptors, fillDocType, getDeploymentExtensions, getDescription, getDescriptorExtension, getDescriptorExtensions, getDisplayName, getDocType, getLargeIconUri, getLocalizedDescription, getLocalizedDescriptions, getLocalizedDisplayName, getLocalizedDisplayNames, getLocalizedLargeIconUri, getLocalizedLargeIconUris, getLocalizedSmallIconUri, getLocalizedSmallIconUris, getPrefixMapping, getSmallIconUri, isBoundsChecking, print, setBoundsChecking, setDescription, setDisplayName, setLargeIconUri, setLocalizedDescription, setLocalizedDisplayName, setLocalizedLargeIconUri, setLocalizedSmallIconUri, setSmallIconUri, visit
-
Methods inherited from class org.glassfish.deployment.common.DynamicAttributesDescriptor
addExtraAttribute, getExtraAttribute, getExtraAttributes, removeExtraAttribute, toString
-
Methods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
-
-
-
-
Field Detail
-
NAME
public static final String NAME
- See Also:
- Constant Field Values
-
PASSWORD
public static final String PASSWORD
- See Also:
- Constant Field Values
-
-
Method Detail
-
setName
public void setName(String value)
Description copied from class:DescriptorSets the name of this descriptor.- Overrides:
setNamein classDescriptor- Parameters:
value- the new name of the descriptor.
-
getName
public String getName()
Description copied from class:DescriptorThe name of this descriptor as a String.- Overrides:
getNamein classDescriptor- Returns:
- the name of this descriptor
-
setPassword
public void setPassword(String value)
-
getPassword
public String getPassword()
-
verify
public boolean verify()
-
-