Class PrincipalNameDescriptor

  • All Implemented Interfaces:
    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
    • Constructor Detail

      • PrincipalNameDescriptor

        public PrincipalNameDescriptor()
    • Method Detail

      • getName

        public 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 String getClassName()
      • setName

        public void setName​(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​(String name)
      • setClassLoader

        public void setClassLoader​(ClassLoader c)
      • getPrincipal

        public Principal getPrincipal()
      • toString

        public 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.