org.apache.tools.ant.taskdefs.optional.ejb
Class Ejbc
- SelectorContainer
Builds EJB support classes using WebLogic's ejbc tool from a directory containing
a set of deployment descriptors.
void | execute() - Do the work.
|
boolean | getKeepgenerated()
|
void | setClasspath(String s) - Set the classpath to be used for this compilation.
|
void | setDescriptors(String dirName) - Set the directory from where the serialized deployment descriptors are
to be read.
|
void | setDest(String dirName) - Set the directory into which the support classes, RMI stubs, etc are to be written.
|
void | setKeepgenerated(String newKeepgenerated) - If true, ejbc will keep the
intermediate Java files used to build the class files.
|
void | setManifest(String manifestFilename) - Set the name of the generated manifest file.
|
void | setSrc(String dirName) - Set the directory containing the source code for the home interface, remote interface
and public key class definitions.
|
XsetIgnore , XsetItems , add , addAnd , addContains , addContainsRegexp , addCustom , addDate , addDepend , addDepth , addDifferent , addFilename , addMajority , addModified , addNone , addNot , addOr , addPresent , addSelector , addSize , addType , appendSelector , createExclude , createExcludesFile , createInclude , createIncludesFile , createPatternSet , getDirectoryScanner , getImplicitFileSet , getSelectors , hasSelectors , selectorCount , selectorElements , setCaseSensitive , setDefaultexcludes , setExcludes , setExcludesfile , setFollowSymlinks , setIncludes , setIncludesfile , setProject |
execute , getDescription , getLocation , getOwningTarget , getRuntimeConfigurableWrapper , getTaskName , getTaskType , getWrapper , handleErrorFlush , handleErrorOutput , handleFlush , handleInput , handleOutput , init , isInvalid , log , log , maybeConfigure , perform , reconfigure , setDescription , setLocation , setOwningTarget , setRuntimeConfigurableWrapper , setTaskName , setTaskType |
keepgenerated
public boolean keepgenerated
execute
public void execute()
throws BuildException
Do the work.
The work is actually done by creating a separate JVM to run a helper task.
This approach allows the classpath of the helper task to be set. Since the
weblogic tools require the class files of the project's home and remote
interfaces to be available in the classpath, this also avoids having to
start ant with the class path of the project it is building.
- execute in interface Task
getKeepgenerated
public boolean getKeepgenerated()
setClasspath
public void setClasspath(String s)
Set the classpath to be used for this compilation.
setDescriptors
public void setDescriptors(String dirName)
Set the directory from where the serialized deployment descriptors are
to be read.
dirName
- the name of the directory containing the serialised deployment descriptors.
setDest
public void setDest(String dirName)
Set the directory into which the support classes, RMI stubs, etc are to be written.
dirName
- the name of the directory into which code is generated
setKeepgenerated
public void setKeepgenerated(String newKeepgenerated)
If true, ejbc will keep the
intermediate Java files used to build the class files.
This can be useful when debugging.
setManifest
public void setManifest(String manifestFilename)
Set the name of the generated manifest file.
For each EJB that is processed an entry is created in this file. This can then be used
to create a jar file for dploying the beans.
manifestFilename
- the name of the manifest file to be generated.
setSrc
public void setSrc(String dirName)
Set the directory containing the source code for the home interface, remote interface
and public key class definitions.
dirName
- the directory containg the source tree for the EJB's interface classes.
Copyright B) 2000-2006 Apache Software Foundation. All Rights Reserved.