com.sun.enterprise.deployment.runtime.common
Class PrincipalNameDescriptor
java.lang.Object
java.util.Observable
com.sun.enterprise.deployment.DynamicAttributesDescriptor
com.sun.enterprise.deployment.Descriptor
com.sun.enterprise.deployment.runtime.common.PrincipalNameDescriptor
- All Implemented Interfaces:
- java.io.Serializable
public class PrincipalNameDescriptor
- extends Descriptor
This is an in memory representation of the principal-name with its name of
the implementation class.
- Author:
- deployment dev team
- See Also:
- Serialized Form
| 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 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 |
PrincipalNameDescriptor
public PrincipalNameDescriptor()
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
getClassName
public java.lang.String getClassName()
setName
public void setName(java.lang.String name)
- Description copied from class:
Descriptor
- Sets the name of this descriptor.
- Overrides:
setName in class Descriptor
- Parameters:
name - the new name of the descriptor.
setClassName
public void setClassName(java.lang.String name)
setClassLoader
public void setClassLoader(java.lang.ClassLoader c)
getPrincipal
public java.security.Principal getPrincipal()
toString
public java.lang.String toString()
- Overrides:
toString in class DynamicAttributesDescriptor
- Returns:
- a meaningfull string about ourself
No Descriptor class which inherits this class should override this method. Rather print() method which is defined in this class
should be overridden to describe itself. Refer to the comments on print() method for more details.
This method is optimized for persformance reasons.
Copyright © 2012 GlassFish Community. All Rights Reserved.