Class 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 EnumeratedAttribute
An EnumeratedAttribute class for handling different EJB jar naming
schemes
-
Field Summary
Fields Modifier and Type Field 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 -
Constructor Summary
Constructors Constructor Description NamingScheme()
-
Method Summary
Modifier and Type Method Description java.lang.String[]
getValues()
Gets the values of the NamingSchemeMethods inherited from class org.apache.tools.ant.types.EnumeratedAttribute
containsValue, getIndex, getInstance, getValue, indexOfValue, setValue, toString
-
Field Details
-
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
-
-
Constructor Details
-
NamingScheme
public NamingScheme()
-
-
Method Details
-
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.
-