Top Deprecated
javax.enterprise.deploy API 1.7

Deprecated API


No API in this release is deprecated for removal.

Deprecated Item Summary

SinceDeprecated Item and Description

Returns:

a string containing the DTD version number This method is being deprecated. Two DD data formats are being used, DTD and XML Schema. DDBeanRoot.getDDBeanRootVersion should be used in its place.
javax.enterprise.deploy.model.DDBeanRoot.getModuleDTDVersion
()

As of version 1.1 replaced by DDBeanRoot.getDDBeanRootVersion()

Returns:

a string containing the DTD version number
 A module's deployment descriptor file always contains
 a document type identifier, DOCTYPE.  The DOCTYPE statement 
 contains the module DTD version number in the label of the 
 statement.

 	The format of the DOCTYPE statement is:
    <!DOCTYPE root_element PUBLIC "-//organization//label//language" "location">
root_element - is the name of the root document in the DTD. organization - is the name of the organization responsible for the creation and maintenance of the DTD being referenced. label - is a unique descriptive name for the public text being referenced. language - is the ISO 639 language id representing the natural language encoding of th DTD. location - is the URL of the DTD. An example Java EE deployment descriptor DOCTYPE statement is:
    <!DOCTYPE application-client PUBLIC "-//Sun Microsystems, Inc.//DTD J2EE Application Client 1.3//EN" "http://java.sun.com/dtd/application-client_1_3.dtd">
In this example the label is, "DTD J2EE Application Client 1.3", and the DTD version number is 1.3. A call to getModuleDTDVersion would return a string containing, "1.3".
This method is being deprecated. With the addition of multiple deployment descritors in components for J2EE 1.4 this method is being replaced by DDBeanRoot.getDDBeanRootVersion.
javax.enterprise.deploy.model.DeployableObject.getModuleDTDVersion
()

As of version 1.1 replaced by DDBeanRoot.getDDBeanRootVersion()

Returns:

ProgressObject an object that tracks and reports the status of the distribution process.
javax.enterprise.deploy.spi.DeploymentManager.distribute
(Target[]
A list of server targets the user is specifying this application be deployed to.
targetList
,
InputStream
The input stream containing the application archive to be disrtibuted.
moduleArchive
,
InputStream
The input stream containing the deployment configuration information associated with this application archive.
deploymentPlan
)

as of Java EE 5, replaced with distribute(Target[], ModuleType, InputStream, InputStream)