javax.enterprise.deploy.model
public interface J2eeApplicationObject extends DeployableObject
Method Summary | |
---|---|
void | addXpathListener(ModuleType type, String xpath, XpathListener xpl)
Register a listener for changes in XPath that are related to this deployableObject.
|
DDBean[] | getChildBean(ModuleType type, String xpath)
Return a list of DDBean instances based upon an XPath; all deployment
descriptors of the specified type are searched.
|
DeployableObject | getDeployableObject(String uri)
Return the DeployableObject of the specified URI designator.
|
DeployableObject[] | getDeployableObjects(ModuleType type)
Return the all DeployableObjects of the specified type.
|
DeployableObject[] | getDeployableObjects()
Return the all DeployableObjects in this application.
|
String[] | getModuleUris(ModuleType type)
Return the list of URIs of the designated module type.
|
String[] | getModuleUris()
Return the list of URIs for all modules in the application.
|
String[] | getText(ModuleType type, String xpath)
Return the text value from the XPath; search only the deployment descriptors
of the specified type.
|
void | removeXpathListener(ModuleType type, String xpath, XpathListener xpl)
Unregister the listener for an XPath. |
Parameters: type The type of deployment descriptor to query. xpath The xpath to listen for. xpl The listener.
Parameters: type The type of deployment descriptor to query. xpath An XPath string referring to a location in the deployment descriptor
Returns: The list of DDBeans or null
if there are no matches.
Parameters: uri Describes where to get the module from.
Returns: the DeployableObject describing the j2ee module at this uri
or null
if there is not match.
Parameters: type The type of module to return.
Returns: the list of DeployableObjects describing the j2ee modules of
this type or null
if there are no matches.
Returns: the DeployableObject instances describing the j2ee modules in
this application or null
if there are none available.
Parameters: type The type of module to return.
Returns: the Uris of the contained modules or null
if there
are no matches.
Returns: the Uris of the contained modules or null
if
the application is completely empty.
Parameters: type The type of deployment descriptor to query. xpath The xpath to query for.
Returns: The text values of this xpath or null
if there are no matches.
Parameters: type The type of deployment descriptor to query. xpath The xpath to listen for. xpl The listener.