| 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface J2eeApplicationObject
J2eeApplicationObject is an interface that represents a Java EE application (EAR); it maintains a DeployableObject for each module in the archive.
| Method Summary | |
|---|---|
 void | 
addXpathListener(ModuleType type,
                 java.lang.String xpath,
                 XpathListener xpl)
Register a listener for changes in XPath that are related to this deployableObject.  | 
 DDBean[] | 
getChildBean(ModuleType type,
             java.lang.String xpath)
Return a list of DDBean based upon an XPath; all deployment descriptors of the specified type are searched.  | 
 DeployableObject | 
getDeployableObject(java.lang.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.  | 
 java.lang.String[] | 
getModuleUris()
Return the list of URIs for all modules in the application.  | 
 java.lang.String[] | 
getModuleUris(ModuleType type)
Return the list of URIs of the designated module type.  | 
 java.lang.String[] | 
getText(ModuleType type,
        java.lang.String xpath)
Return the text value from the XPath; search only the deployment descriptors of the specified type.  | 
 void | 
removeXpathListener(ModuleType type,
                    java.lang.String xpath,
                    XpathListener xpl)
Unregister the listener for an XPath.  | 
| Methods inherited from interface javax.enterprise.deploy.model.DeployableObject | 
|---|
entries, getChildBean, getClassFromScope, getDDBeanRoot, getDDBeanRoot, getEntry, getModuleDTDVersion, getText, getType | 
| Method Detail | 
|---|
DeployableObject getDeployableObject(java.lang.String uri)
uri - Describes where to get the module from.
DeployableObject[] getDeployableObjects(ModuleType type)
type - The type of module to return.
DeployableObject[] getDeployableObjects()
java.lang.String[] getModuleUris(ModuleType type)
type - The type of module to return.
java.lang.String[] getModuleUris()
DDBean[] getChildBean(ModuleType type,
                      java.lang.String xpath)
type - The type of deployment descriptor to query.xpath - An XPath string referring to a location in the
         deployment descriptor
java.lang.String[] getText(ModuleType type,
                           java.lang.String xpath)
type - The type of deployment descriptor to query.xpath - An xpath string referring to a location in the
             deployment descriptor
void addXpathListener(ModuleType type,
                      java.lang.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,
                         java.lang.String xpath,
                         XpathListener xpl)
type - The type of deployment descriptor to query.xpath - he XPath to listen forxpl - The listener
  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright © 2009-2011, Oracle Corporation and/or its affiliates. All Rights Reserved. Use is subject to license terms.
Generated on 10-February-2011 12:41