-
- All Superinterfaces:
- DeployableObject
public interface J2eeApplicationObject extends DeployableObject
J2eeApplicationObject is an interface that represents a Java EE application (EAR); it maintains a DeployableObject for each module in the archive.
-
-
Method Summary
All Methods Instance Methods Abstract Methods 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 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
-
-
-
-
Method Detail
-
getDeployableObject
DeployableObject getDeployableObject(String uri)
Return the DeployableObject of the specified URI designator.- 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.
-
getDeployableObjects
DeployableObject[] getDeployableObjects(ModuleType type)
Return the all DeployableObjects of the specified type.- Parameters:
type
- The type of module to return.- Returns:
- 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.- Returns:
- 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.- Parameters:
type
- The type of module to return.- Returns:
- 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.- Returns:
- 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.- 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' 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.- Parameters:
type
- The type of deployment descriptor to query.xpath
- An xpath string referring to a location in the deployment descriptor- Returns:
- 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.- Parameters:
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.- Parameters:
type
- The type of deployment descriptor to query.xpath
- he XPath to listen forxpl
- The listener
-
-
Deutsche Übersetzung
Sie haben gebeten, diese Seite auf Deutsch zu besuchen. Momentan ist nur die Oberfläche übersetzt, aber noch nicht der gesamte Inhalt.Wenn Sie mir bei Übersetzungen helfen wollen, ist Ihr Beitrag willkommen. Alles, was Sie tun müssen, ist, sich auf der Website zu registrieren und mir eine Nachricht zu schicken, in der Sie gebeten werden, Sie der Gruppe der Übersetzer hinzuzufügen, die Ihnen die Möglichkeit gibt, die gewünschten Seiten zu übersetzen. Ein Link am Ende jeder übersetzten Seite zeigt an, dass Sie der Übersetzer sind und einen Link zu Ihrem Profil haben.
Vielen Dank im Voraus.
Dokument erstellt 11/06/2005, zuletzt geändert 18/08/2025
Quelle des gedruckten Dokuments:https://www.gaudry.be/de/java-api-javaee-rf-javax/enterprise/deploy/model/J2eeApplicationObject.html
Die Infobro ist eine persönliche Seite, deren Inhalt in meiner alleinigen Verantwortung liegt. Der Text ist unter der CreativeCommons-Lizenz (BY-NC-SA) verfügbar. Weitere Informationen auf die Nutzungsbedingungen und dem Autor.
Referenzen
Diese Verweise und Links verweisen auf Dokumente, die während des Schreibens dieser Seite konsultiert wurden, oder die zusätzliche Informationen liefern können, aber die Autoren dieser Quellen können nicht für den Inhalt dieser Seite verantwortlich gemacht werden.
Der Autor dieser Website ist allein dafür verantwortlich, wie die verschiedenen Konzepte und Freiheiten, die mit den Nachschlagewerken gemacht werden, hier dargestellt werden. Denken Sie daran, dass Sie mehrere Quellinformationen austauschen müssen, um das Risiko von Fehlern zu reduzieren.