org.apache.tools.ant.taskdefs.optional.ejb

Class EjbJar.NamingScheme

  • Enclosing class:
    EjbJar


    public static class EjbJar.NamingScheme
    extends EnumeratedAttribute
    An EnumeratedAttribute class for handling different EJB jar naming schemes
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String BASEJARNAME
      Naming scheme where the generated jar is named by the basejarname attribute
      static java.lang.String DESCRIPTOR
      Naming scheme where the generated jar name is based on the name of the deployment descriptor file
      static java.lang.String DIRECTORY
      Naming scheme where the generated jar name is based on the name of the directory containing the deployment descriptor
      static java.lang.String EJB_NAME
      Naming scheme where generated jar is determined from the ejb-name in the deployment descriptor
    • Constructor Summary

      Constructors 
      Constructor and Description
      NamingScheme() 
    • Field Detail

      • EJB_NAME

        public static final java.lang.String EJB_NAME
        Naming scheme where generated jar is determined from the ejb-name in the deployment descriptor
        See Also:
        Constant Field Values
      • DIRECTORY

        public static final java.lang.String DIRECTORY
        Naming scheme where the generated jar name is based on the name of the directory containing the deployment descriptor
        See Also:
        Constant Field Values
      • DESCRIPTOR

        public static final java.lang.String DESCRIPTOR
        Naming scheme where the generated jar name is based on the name of the deployment descriptor file
        See Also:
        Constant Field Values
      • BASEJARNAME

        public static final java.lang.String BASEJARNAME
        Naming scheme where the generated jar is named by the basejarname attribute
        See Also:
        Constant Field Values
    • Constructor Detail

      • NamingScheme

        public NamingScheme()
    • Method Detail

      • getValues

        public java.lang.String[] getValues()
        Gets the values of the NamingScheme
        Specified by:
        getValues in class EnumeratedAttribute
        Returns:
        an array of the values of this attribute class.