Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

javax.enterprise.deploy.model
Interface J2eeApplicationObject  view J2eeApplicationObject download J2eeApplicationObject.java

All Superinterfaces:
DeployableObject

public interface J2eeApplicationObject
extends DeployableObject

J2eeApplicationObject is an interface that represents a J2EE application (EAR); it maintains a DeployableObject for each module in the archive.

Version:
$Rev: 46019 $ $Date: 2004-09-14 02:56:06 -0700 (Tue, 14 Sep 2004) $

Method Summary
 void addXpathListener(javax.enterprise.deploy.shared.ModuleType type, java.lang.String xpath, XpathListener xpl)
          Register a listener for changes in XPath that are related to this deployableObject.
 DDBean[] getChildBean(javax.enterprise.deploy.shared.ModuleType type, java.lang.String xpath)
          Return a list of DDBean instances 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(javax.enterprise.deploy.shared.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(javax.enterprise.deploy.shared.ModuleType type)
          Return the list of URIs of the designated module type.
 java.lang.String[] getText(javax.enterprise.deploy.shared.ModuleType type, java.lang.String xpath)
          Return the text value from the XPath; search only the deployment descriptors of the specified type.
 void removeXpathListener(javax.enterprise.deploy.shared.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

getDeployableObject

public DeployableObject getDeployableObject(java.lang.String uri)
Return the DeployableObject of the specified URI designator.


getDeployableObjects

public DeployableObject[] getDeployableObjects(javax.enterprise.deploy.shared.ModuleType type)
Return the all DeployableObjects of the specified type.


getDeployableObjects

public DeployableObject[] getDeployableObjects()
Return the all DeployableObjects in this application.


getModuleUris

public java.lang.String[] getModuleUris(javax.enterprise.deploy.shared.ModuleType type)
Return the list of URIs of the designated module type.


getModuleUris

public java.lang.String[] getModuleUris()
Return the list of URIs for all modules in the application.


getChildBean

public DDBean[] getChildBean(javax.enterprise.deploy.shared.ModuleType type,
                             java.lang.String xpath)
Return a list of DDBean instances based upon an XPath; all deployment descriptors of the specified type are searched.


getText

public java.lang.String[] getText(javax.enterprise.deploy.shared.ModuleType type,
                                  java.lang.String xpath)
Return the text value from the XPath; search only the deployment descriptors of the specified type.


addXpathListener

public void addXpathListener(javax.enterprise.deploy.shared.ModuleType type,
                             java.lang.String xpath,
                             XpathListener xpl)
Register a listener for changes in XPath that are related to this deployableObject.


removeXpathListener

public void removeXpathListener(javax.enterprise.deploy.shared.ModuleType type,
                                java.lang.String xpath,
                                XpathListener xpl)
Unregister the listener for an XPath.