|
Java EE 5 SDK 深圳电信培训中心.徐海蛟老师. |
||||||||
上一个类 下一个类 | 框架 无框架 | ||||||||
摘要: 嵌套 | 字段 | 构造器 | 方法 | 详细信息: 字段 | 构造器 | 方法 |
javax.enterprise.deploy.model Interface J2eeApplicationObject
- 所有父接口:
- 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.
方法摘要 | |
---|---|
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 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. |
Methods inherited from interface javax.enterprise.deploy.model.DeployableObject |
---|
entries, getChildBean, getClassFromScope, getDDBeanRoot, getDDBeanRoot, getEntry, getModuleDTDVersion, getText, getType |
方法详细信息 |
---|
getDeployableObject
DeployableObject getDeployableObject(String uri)
- Return the DeployableObject of the specified URI designator.
- 参数:
uri
- Describes where to get the module from.- 返回:
- the DeployableObject describing the j2ee module at this uri or 'null' if there is not match.
getDeployableObjects
DeployableObject[] getDeployableObjects(ModuleType type)
- Return the all DeployableObjects of the specified type.
- 参数:
type
- The type of module to return.- 返回:
- the list of DeployableObjects describing the j2ee module at this uri or 'null' if there are no matches.
getDeployableObjects
DeployableObject[] getDeployableObjects()
- Return the all DeployableObjects in this application.
- 返回:
- the DeployableObject describing the j2ee module at this uri or 'null' if there are no matches.
getModuleUris
String[] getModuleUris(ModuleType type)
- Return the list of URIs of the designated module type.
- 参数:
type
- The type of module to return.- 返回:
- the Uris of the contained modules or 'null' if there are no matches.
getModuleUris
String[] getModuleUris()
- Return the list of URIs for all modules in the application.
- 返回:
- the Uris of the contained modules or 'null' if there are no matches.
getChildBean
DDBean[] getChildBean(ModuleType type, String xpath)
- Return a list of DDBean based upon an XPath; all
deployment descriptors of the specified type are searched.
- 参数:
type
- The type of deployment descriptor to query.xpath
- An XPath string referring to a location in the deployment descriptor- 返回:
- The list of DDBeans or 'null' of there are no matches.
getText
String[] getText(ModuleType type, String xpath)
- Return the text value from the XPath; search only the
deployment descriptors of the specified type.
- 参数:
type
- The type of deployment descriptor to query.xpath
- An xpath string referring to a location in the deployment descriptor- 返回:
- The text values of this xpath or 'null' if there are no matches.
addXpathListener
void addXpathListener(ModuleType type, String xpath, XpathListener xpl)
- Register a listener for changes in XPath that are related
to this deployableObject.
- 参数:
type
- The type of deployment descriptor to query.xpath
- The xpath to listen for.xpl
- The listener.
removeXpathListener
void removeXpathListener(ModuleType type, String xpath, XpathListener xpl)
- Unregister the listener for an XPath.
- 参数:
type
- The type of deployment descriptor to query.xpath
- he XPath to listen forxpl
- The listener
|
Java EE 5 SDK 深圳电信培训中心.徐海蛟老师. |
||||||||
上一个类 下一个类 | 框架 无框架 | ||||||||
摘要: 嵌套 | 字段 | 构造器 | 方法 | 详细信息: 字段 | 构造器 | 方法 |
提交错误或意见
版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。深圳电信培训中心.徐海蛟老师教学参考.