<ejbjar srcdir="${build.classes}"
basejarname="vsmp"
descriptordir="${rsc.dir}/hrmanager">
<borland destdir="tstlib">
<classpath refid="classpath" />
</borland>
<include name="**\ejb-jar.xml"/>
<support dir="${build.classes}">
<include name="demo\smp\*.class"/>
<include name="demo\helper\*.class"/>
</support>
</ejbjar>
| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final int | BAS
Borland Application Server or Inprise Application Server = version 4 |
| protected static final String | |
| pack-priv static final int | BES
Borland Enterprise Server = version 5 |
| protected static final String | |
| private String | borlandDTD
Instance variable that stores the location of the borland DTD file. |
| protected static final String | |
| protected static final String | |
| private boolean | generateclient
Instance variable that determines whether the client jar file is generated |
| private Map | |
| private String | jarSuffix
Instance variable that stores the suffix for the borland jarfile. |
| protected static final String | JAVA2IIOP
Java2iiop executable |
| private String | java2iioparams
store additional param for java2iiop command used to build EJB Stubs |
| private boolean | java2iiopdebug
Instance variable that determines whether the debug mode is on |
| public static final String | PUBLICID_BORLAND_EJB
Borland 1.1 ejb id |
| protected static final String | VERIFY
Verify class |
| private boolean | verify
Instance variable that determines whether it is necessary to verify the produced jar |
| private String | |
| private int | version
borland appserver version 4 or 5 |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected void | addVendorFiles(Hashtable<String, File>
the map to add the files to. ejbFiles, String the prefix to use. ddPrefix)Overrides org. |
| private void | buildBorlandStubs(Collection<String>
: iterator on home class ithomes)Generate stubs & skeleton for each home found into the DD Add all the generate class file into the ejb files |
| private void | generateClient(File
java.io.File representing the produced jar file sourceJar)Generate the client jar corresponding to the jar file passed as parameter the method uses the BorlandGenerateClient task. |
| protected DescriptorHandler | Returns: the descriptor.the source directory. srcDir)
Deprecated
as a consequence of
Get the borland descriptor handler.
DescriptorHandler being deprecated.
|
| pack-priv File | getVendorOutputJarFile(String
the basename to use. baseName)Overrides org. |
| public void | |
| public void | |
| public void | setGenerateclient(boolean
if true generate the client task. b)setter used to store whether the task will include the generate client task. |
| public void | setJava2iiopParams(String
additional params for java2iiop params)If filled, the params are added to the java2iiop command. |
| public void | setProcessErrorStream(InputStream
the input stream. is)Implements org. |
| public void | setProcessInputStream(OutputStream
output stream to write to the standard input stream of the
subprocess param1)Implements org. |
| public void | setProcessOutputStream(InputStream
the input stream. is)Implements org. |
| public void | |
| public void | |
| public void | setVerifyArgs(String
additional command line parameters args)sets some additional args to send to verify command |
| public void | setVersion(int
app server version 4 or 5 version)setter used to store the borland appserver version [4 or 5] |
| public void | start()
Implements org. |
| public void | stop()
Implements org. |
| private String | |
| private String | toClassFile(String filename)
convert a file name : A/B/C/toto.java into a class name: A/B/C/toto.class |
| private void | verifyBorlandJar(File
java.io.File representing the produced jar file sourceJar)Verify the produced jar file by invoking the Borland verify tool |
| private void | verifyBorlandJarV4(File
java.io.File representing the produced jar file sourceJar)Verify the produced jar file by invoking the Borland verify tool |
| private void | verifyBorlandJarV5(File
java.io.File representing the produced jar file sourceJar)Verify the produced jar file by invoking the Borland iastool tool |
| protected void | writeJar(String
the base name. baseName, File the jar file to write to. jarFile, Hashtable<String, File> the files to write to the jar. files, String the id to use. publicId)Overrides org. |
| BAS | back to summary |
|---|---|
| pack-priv static final int BAS Borland Application Server or Inprise Application Server = version 4 | |
| BAS_DD | back to summary |
|---|---|
| protected static final String BAS_DD | |
| BES | back to summary |
|---|---|
| pack-priv static final int BES Borland Enterprise Server = version 5 | |
| BES_DD | back to summary |
|---|---|
| protected static final String BES_DD | |
| borlandDTD | back to summary |
|---|---|
| private String borlandDTD Instance variable that stores the location of the borland DTD file. | |
| DEFAULT_BAS45_EJB11_DTD_LOCATION | back to summary |
|---|---|
| protected static final String DEFAULT_BAS45_EJB11_DTD_LOCATION | |
| DEFAULT_BAS_DTD_LOCATION | back to summary |
|---|---|
| protected static final String DEFAULT_BAS_DTD_LOCATION | |
| generateclient | back to summary |
|---|---|
| private boolean generateclient Instance variable that determines whether the client jar file is generated | |
| genfiles | back to summary |
|---|---|
| private Map<String, File> genfiles | |
| jarSuffix | back to summary |
|---|---|
| private String jarSuffix Instance variable that stores the suffix for the borland jarfile. | |
| JAVA2IIOP | back to summary |
|---|---|
| protected static final String JAVA2IIOP Java2iiop executable | |
| java2iioparams | back to summary |
|---|---|
| private String java2iioparams store additional param for java2iiop command used to build EJB Stubs | |
| java2iiopdebug | back to summary |
|---|---|
| private boolean java2iiopdebug Instance variable that determines whether the debug mode is on | |
| PUBLICID_BORLAND_EJB | back to summary |
|---|---|
| public static final String PUBLICID_BORLAND_EJB Borland 1.1 ejb id | |
| VERIFY | back to summary |
|---|---|
| protected static final String VERIFY Verify class | |
| verify | back to summary |
|---|---|
| private boolean verify Instance variable that determines whether it is necessary to verify the produced jar | |
| verifyArgs | back to summary |
|---|---|
| private String verifyArgs | |
| version | back to summary |
|---|---|
| private int version borland appserver version 4 or 5 | |
| BorlandDeploymentTool | back to summary |
|---|---|
| public BorlandDeploymentTool() | |
| addVendorFiles | back to summary |
|---|---|
| protected void addVendorFiles(Hashtable<String, File> ejbFiles, String ddPrefix) Overrides org. Add any vendor specific files which should be included in the EJB Jar. | |
| buildBorlandStubs | back to summary |
|---|---|
| private void buildBorlandStubs(Collection<String> ithomes) Generate stubs & skeleton for each home found into the DD Add all the generate class file into the ejb files
| |
| generateClient | back to summary |
|---|---|
| private void generateClient(File sourceJar) Generate the client jar corresponding to the jar file passed as parameter the method uses the BorlandGenerateClient task.
| |
| getBorlandDescriptorHandler | back to summary |
|---|---|
| protected DescriptorHandler getBorlandDescriptorHandler(final File srcDir)
Deprecated as a consequence of Get the borland descriptor handler.
| |
| getVendorOutputJarFile | back to summary |
|---|---|
| pack-priv File getVendorOutputJarFile(String baseName) Overrides org. Get the vendor specific name of the Jar that will be output. The modification date of this jar will be checked against the dependent bean classes.
| |
| setBASdtd | back to summary |
|---|---|
| public void setBASdtd(String inString) Setter used to store the location of the borland DTD. This can be a file on the system or a resource on the classpath.
| |
| setDebug | back to summary |
|---|---|
| public void setDebug(boolean debug) set the debug mode for java2iiop (default false)
| |
| setGenerateclient | back to summary |
|---|---|
| public void setGenerateclient(boolean b) setter used to store whether the task will include the generate client task. (see : BorlandGenerateClient task)
| |
| setJava2iiopParams | back to summary |
|---|---|
| public void setJava2iiopParams(String params) If filled, the params are added to the java2iiop command. (ex: -no_warn_missing_define)
| |
| setProcessErrorStream | back to summary |
|---|---|
| public void setProcessErrorStream(InputStream is) throws IOException Implements org. Set the error stream of the process.
| |
| setProcessInputStream | back to summary |
|---|---|
| public void setProcessInputStream(OutputStream param1) throws IOException Implements org. Doc from org. Install a handler for the input stream of the subprocess..
| |
| setProcessOutputStream | back to summary |
|---|---|
| public void setProcessOutputStream(InputStream is) throws IOException Implements org. Set the output stream of the process.
| |
| setSuffix | back to summary |
|---|---|
| public void setSuffix(String inString) Setter used to store the suffix for the generated borland jar file.
| |
| setVerify | back to summary |
|---|---|
| public void setVerify(boolean verify) set the verify mode for the produced jar (default true)
| |
| setVerifyArgs | back to summary |
|---|---|
| public void setVerifyArgs(String args) sets some additional args to send to verify command
| |
| setVersion | back to summary |
|---|---|
| public void setVersion(int version) setter used to store the borland appserver version [4 or 5]
| |
| start | back to summary |
|---|---|
| public void start() throws IOException Implements org. Doc from org. Start handling of the streams..
| |
| stop | back to summary |
|---|---|
| public void stop() Implements org. Doc from org. Stop handling of the streams - will not be restarted..
| |
| toClass | back to summary |
|---|---|
| private String toClass(String filename) convert a class file name : A/B/C/toto.class into a class name: A.B.C.toto | |
| toClassFile | back to summary |
|---|---|
| private String toClassFile(String filename) convert a file name : A/B/C/toto.java into a class name: A/B/C/toto.class | |
| verifyBorlandJar | back to summary |
|---|---|
| private void verifyBorlandJar(File sourceJar) Verify the produced jar file by invoking the Borland verify tool
| |
| verifyBorlandJarV4 | back to summary |
|---|---|
| private void verifyBorlandJarV4(File sourceJar) Verify the produced jar file by invoking the Borland verify tool
| |
| verifyBorlandJarV5 | back to summary |
|---|---|
| private void verifyBorlandJarV5(File sourceJar) Verify the produced jar file by invoking the Borland iastool tool
| |
| writeJar | back to summary |
|---|---|
| protected void writeJar(String baseName, File jarFile, Hashtable<String, File> files, String publicId) throws BuildException Overrides org. Method used to encapsulate the writing of the JAR file. Iterates over the filenames/java.io.Files in the Hashtable stored on the instance variable ejbFiles. | |