public interface J2eeApplicationObject extends DeployableObject
Modifier and Type | Method and Description |
---|---|
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()
Return the all DeployableObjects in this application.
|
DeployableObject[] |
getDeployableObjects(ModuleType type)
Return the all DeployableObjects of the specified type.
|
String[] |
getModuleUris()
Return the list of URIs for all modules in the application.
|
String[] |
getModuleUris(ModuleType type)
Return the list of URIs of the designated module type.
|
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.
|
entries, getChildBean, getClassFromScope, getDDBeanRoot, getDDBeanRoot, getEntry, getModuleDTDVersion, getText, getType
DeployableObject getDeployableObject(String uri)
uri
- Describes where to get the module from.null
if there is not match.DeployableObject[] getDeployableObjects(ModuleType type)
type
- The type of module to return.null
if there are no matches.DeployableObject[] getDeployableObjects()
null
if there are none available.String[] getModuleUris(ModuleType type)
type
- The type of module to return.null
if there
are no matches.String[] getModuleUris()
null
if
the application is completely empty.DDBean[] getChildBean(ModuleType type, String xpath)
type
- The type of deployment descriptor to query.xpath
- An XPath string referring to a location in the deployment descriptornull
if there are no matches.String[] getText(ModuleType type, String xpath)
type
- The type of deployment descriptor to query.xpath
- The xpath to query for.null
if there are no matches.void addXpathListener(ModuleType type, String xpath, XpathListener xpl)
type
- The type of deployment descriptor to query.xpath
- The xpath to listen for.xpl
- The listener.void removeXpathListener(ModuleType type, String xpath, XpathListener xpl)
type
- The type of deployment descriptor to query.xpath
- The xpath to listen for.xpl
- The listener.Copyright © 2013. All Rights Reserved.