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

static String
BASEJARNAME
Naming scheme where the generated jar is named by the basejarname attribute
static String
DESCRIPTOR
Naming scheme where the generated jar name is based on the name of the deployment descriptor file
static String
DIRECTORY
Naming scheme where the generated jar name is based on the name of the directory containing the deployment descriptor
static String
EJB_NAME
Naming scheme where generated jar is determined from the ejb-name in the deployment descripor

Fields inherited from class org.apache.tools.ant.types.EnumeratedAttribute

value

Method Summary

String[]
getValues()
Gets the values of the NamingScheme

Methods inherited from class org.apache.tools.ant.types.EnumeratedAttribute

containsValue, getIndex, getValue, getValues, indexOfValue, setValue, toString

Field Details

BASEJARNAME

public static final String BASEJARNAME
Naming scheme where the generated jar is named by the basejarname attribute

DESCRIPTOR

public static final String DESCRIPTOR
Naming scheme where the generated jar name is based on the name of the deployment descriptor file

DIRECTORY

public static final String DIRECTORY
Naming scheme where the generated jar name is based on the name of the directory containing the deployment descriptor

EJB_NAME

public static final String EJB_NAME
Naming scheme where generated jar is determined from the ejb-name in the deployment descripor

Method Details

getValues

public String[] getValues()
Gets the values of the NamingScheme
Overrides:
getValues in interface EnumeratedAttribute
Returns:
an array of the values of this attribute class.

Copyright © 2000-2006 Apache Software Foundation. All Rights Reserved.