javax.enterprise.deploy.model

Interface J2eeApplicationObject

  • 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 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 for
        xpl - The listener

Traduction non disponible

Les API Java ne sont pas encore traduites en français sur l'infobrol. Seule la version anglaise est disponible pour l'instant.

Version en cache

22/08/2025 03:43:33 Cette version de la page est en cache (à la date du 22/08/2025 03:43:33) afin d'accélérer le traitement.
Vous pouvez activer le mode utilisateur dans le menu en haut pour afficher la version plus récente de la page.

Document créé le 14/04/2008, dernière modification le 18/08/2025
Source du document imprimé : https://www.gaudry.be/java-api-javaee-rf-javax/enterprise/deploy/model/j2eeapplicationobject.html

L'infobrol est un site personnel dont le contenu n'engage que moi. Le texte est mis à disposition sous licence CreativeCommons(BY-NC-SA). Plus d'info sur les conditions d'utilisation et sur l'auteur.

Références

  1. Consulter le document html Langue du document :fr Manuel PHP : https://docs.oracle.com, J2eeApplicationObject

Ces références et liens indiquent des documents consultés lors de la rédaction de cette page, ou qui peuvent apporter un complément d'information, mais les auteurs de ces sources ne peuvent être tenus responsables du contenu de cette page.
L'auteur de ce site est seul responsable de la manière dont sont présentés ici les différents concepts, et des libertés qui sont prises avec les ouvrages de référence. N'oubliez pas que vous devez croiser les informations de sources multiples afin de diminuer les risques d'erreurs.