Methods Summary |
---|
public java.util.Enumeration | entries()Returns an enumeration of the module file entries. All elements
in the enumeration are of type String. Each String represents a
file name relative to the root of the module.
|
public DDBean[] | getChildBean(java.lang.String xpath)Return an array of standard beans representing the
XML content returned based upon the XPath.
|
public java.lang.Class | getClassFromScope(java.lang.String className)Retrieve the specified class from this deployable module.
One use: to get all finder methods from an EJB
If the tool is attempting to package an module
and retrieve a class from the package, the class
request may fail. The class may not yet be
available. The tool should respect the manifest
cross-path entries.
|
public DDBeanRoot | getDDBeanRoot()Return the top level standard bean representing
the root of the deployment descriptor.
|
public DDBeanRoot | getDDBeanRoot(java.lang.String filename)Returns a DDBeanRoot object for the XML instance document named.
This method should be used to return DDBeanRoot objects for non
deployment descriptor XML instance documents such as WSDL files.
|
public java.io.InputStream | getEntry(java.lang.String name)Returns the InputStream for the given entry name
The file name must be relative to the root of the module.
|
public java.lang.String | getModuleDTDVersion()Returns the DTD version number given in the XML
DOCTYPE text provided in every standard J2EE module's
deployment descriptor file.
|
public java.lang.String[] | getText(java.lang.String xpath)Return the XML content associated with the XPath
from a deployment descriptor.
|
public javax.enterprise.deploy.shared.ModuleType | getType()Return the ModuleType of deployment descriptor (i.e., EAR,
JAR, WAR, RAR) this deployable object represents.
Values are found in DeploymentManager.
|