org.apache.tools.ant.taskdefs.optional.ejbClass EjbJar.NamingScheme
- java.lang.Object
- org.apache.tools.ant.types.EnumeratedAttribute
- org.apache.tools.ant.taskdefs.optional.ejb.EjbJar.NamingScheme
- Enclosing class:
- EjbJar
public static class EjbJar.NamingScheme extends EnumeratedAttributeAn 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 attributestatic java.lang.String
DESCRIPTOR
Naming scheme where the generated jar name is based on the name of the deployment descriptor filestatic java.lang.String
DIRECTORY
Naming scheme where the generated jar name is based on the name of the directory containing the deployment descriptorstatic java.lang.String
EJB_NAME
Naming scheme where generated jar is determined from the ejb-name in the deployment descriptor
Fields inherited from class org.apache.tools.ant.types.EnumeratedAttribute
value
Constructor Summary
Constructors Constructor and Description NamingScheme()
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description java.lang.String[]
getValues()
Gets the values of the NamingScheme
Methods inherited from class org.apache.tools.ant.types.EnumeratedAttribute
containsValue, getIndex, getInstance, getValue, indexOfValue, setValue, toString
Field Detail
EJB_NAME
public static final java.lang.String EJB_NAMENaming 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 DIRECTORYNaming 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 DESCRIPTORNaming 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 BASEJARNAMENaming scheme where the generated jar is named by the basejarname attribute
- See Also:
- Constant Field Values
Method Detail
getValues
public java.lang.String[] getValues()Gets the values of the NamingScheme
- Specified by:
getValues
in classEnumeratedAttribute
- Returns:
- an array of the values of this attribute class.