|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.ow2.jonas.ant.AbstractAntDeprecated
org.ow2.jonas.ant.EjbJarDeprecated
public class EjbJarDeprecated
Class only used for compatibility with previous version of JOnAS
| Field Summary |
|---|
| Fields inherited from class org.ow2.jonas.ant.AbstractAntDeprecated |
|---|
logger |
| Fields inherited from class org.apache.tools.ant.Task |
|---|
target, taskName, taskType, wrapper |
| Fields inherited from class org.apache.tools.ant.ProjectComponent |
|---|
description, location, project |
| Constructor Summary | |
|---|---|
EjbJarDeprecated()
|
|
| Method Summary | |
|---|---|
Object |
createClasspath()
Adds to the classpath used to locate the super classes and interfaces of the classes that will make up the EJB JAR. |
protected Object |
createDeploymentTool(org.apache.tools.ant.taskdefs.optional.ejb.EJBDeploymentTool deploymentTool)
Add a deployment tool to the list of deployment tools that will be processed |
Object |
createDTD()
Create a DTD location record. |
Object |
createJonas()
Adds a deployment tool for JOnAS server. |
Object |
createSupport()
Adds a fileset for support elements. |
void |
setBasejarname(String inValue)
Set the base name of the EJB JAR that is to be created if it is not to be determined from the name of the deployment descriptor files. |
void |
setBasenameterminator(String inValue)
The string which terminates the bean name. |
void |
setClasspath(org.apache.tools.ant.types.Path classpath)
Set the classpath to use when resolving classes for inclusion in the jar. |
void |
setCmpversion(org.apache.tools.ant.taskdefs.optional.ejb.EjbJar.CMPVersion version)
Sets the CMP version. |
void |
setDependency(String analyzer)
Set the analyzer to use when adding in dependencies to the JAR. |
void |
setDescriptordir(File inDir)
Set the descriptor directory. |
void |
setDestdir(File inDir)
Set the destination directory. |
void |
setFlatdestdir(boolean inValue)
Controls whether the destination JARs are written out in the destination directory with the same hierarchical structure from which the deployment descriptors have been read. |
void |
setGenericjarsuffix(String inString)
Set the suffix for the generated jar file. |
void |
setManifest(File manifest)
Set the Manifest file to use when jarring. |
void |
setNaming(org.apache.tools.ant.taskdefs.optional.ejb.EjbJar.NamingScheme namingScheme)
Set the naming scheme used to determine the name of the generated jars from the deployment descriptor |
void |
setSrcdir(File inDir)
Sets the source directory, which is the directory that contains the classes that will be added to the EJB jar. |
| Methods inherited from class org.ow2.jonas.ant.AbstractAntDeprecated |
|---|
deprecated |
| Methods inherited from class org.apache.tools.ant.Task |
|---|
bindToOwner, execute, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
| Methods inherited from class org.apache.tools.ant.ProjectComponent |
|---|
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EjbJarDeprecated()
| Method Detail |
|---|
public void setManifest(File manifest)
throws Exception
manifest - the manifest to be used in the EJB jar
Exception
public void setSrcdir(File inDir)
throws Exception
inDir - the source directory.
Exception
public void setDescriptordir(File inDir)
throws Exception
inDir - the directory containing the deployment descriptors.
Exception
public void setDependency(String analyzer)
throws Exception
analyzer - the name of the dependency analyzer or a class.
Exception
public void setBasejarname(String inValue)
throws Exception
inValue - the basename that will be used when writing the jar
file containing the EJB
Exception
public void setNaming(org.apache.tools.ant.taskdefs.optional.ejb.EjbJar.NamingScheme namingScheme)
throws Exception
namingScheme - the naming scheme to be used
Exception
public void setDestdir(File inDir)
throws Exception
inDir - the destination directory in which to generate jars
Exception
public void setCmpversion(org.apache.tools.ant.taskdefs.optional.ejb.EjbJar.CMPVersion version)
throws Exception
version - CMP version.
Must be either 1.0 or 2.0.1.0.Exception
public void setClasspath(org.apache.tools.ant.types.Path classpath)
throws Exception
classpath - the classpath to use.
Exception
public void setFlatdestdir(boolean inValue)
throws Exception
inValue - the new value of the flatdestdir flag.
Exception
public void setGenericjarsuffix(String inString)
throws Exception
inString - the string to use as the suffix.
Exception
public void setBasenameterminator(String inValue)
throws Exception
inValue - a string which marks the end of the basename.
Exception
public Object createJonas()
throws Exception
Exception
public Object createClasspath()
throws Exception
Exception
public Object createDTD()
throws Exception
Exception
public Object createSupport()
throws Exception
Exception
protected Object createDeploymentTool(org.apache.tools.ant.taskdefs.optional.ejb.EJBDeploymentTool deploymentTool)
throws Exception
deploymentTool - a deployment tool instance to which descriptors
will be passed for processing.
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||