com.sun.enterprise.deployment.runtime.common
Class DefaultResourcePrincipal

java.lang.Object
  extended by java.util.Observable
      extended by com.sun.enterprise.deployment.DynamicAttributesDescriptor
          extended by com.sun.enterprise.deployment.Descriptor
              extended by com.sun.enterprise.deployment.runtime.RuntimeDescriptor
                  extended by com.sun.enterprise.deployment.runtime.common.DefaultResourcePrincipal
All Implemented Interfaces:
java.io.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
static java.lang.String NAME
           
static java.lang.String PASSWORD
           
 
Fields inherited from class com.sun.enterprise.deployment.runtime.RuntimeDescriptor
propListeners
 
Fields inherited from class com.sun.enterprise.deployment.Descriptor
DESCRIPTION_CHANGED, DESCRIPTOR_CHANGED, docType, LARGE_ICON_CHANGED, NAME_CHANGED, SMALL_ICON_CHANGED
 
Constructor Summary
DefaultResourcePrincipal()
           
 
Method Summary
 java.lang.String getName()
          The name of this descriptor as a String.
 java.lang.String getPassword()
           
 void setName(java.lang.String value)
          Sets the name of this descriptor.
 void setPassword(java.lang.String value)
           
 boolean verify()
           
 
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, setValues, size
 
Methods inherited from class com.sun.enterprise.deployment.Descriptor
addDeploymentExtension, addPrefixMapping, createUniqueFilenameAmongst, createUniqueNameAmongst, createUniqueNameAmongstNamedDescriptors, fillDocType, getDeploymentExtensions, getDescription, 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 com.sun.enterprise.deployment.DynamicAttributesDescriptor
addExtraAttribute, getExtraAttribute, getExtraAttributes, removeExtraAttribute, toString
 
Methods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

NAME

public static final java.lang.String NAME
See Also:
Constant Field Values

PASSWORD

public static final java.lang.String PASSWORD
See Also:
Constant Field Values
Constructor Detail

DefaultResourcePrincipal

public DefaultResourcePrincipal()
Method Detail

setName

public void setName(java.lang.String value)
Description copied from class: Descriptor
Sets the name of this descriptor.

Overrides:
setName in class Descriptor
Parameters:
value - the new name of the descriptor.

getName

public java.lang.String getName()
Description copied from class: Descriptor
The name of this descriptor as a String.

Overrides:
getName in class Descriptor
Returns:
the name of this descriptor

setPassword

public void setPassword(java.lang.String value)

getPassword

public java.lang.String getPassword()

verify

public boolean verify()


Copyright © 2012 GlassFish Community. All Rights Reserved.