Class ModuleDescriptor<T extends RootDeploymentDescriptor>

    • Constructor Detail

      • ModuleDescriptor

        public ModuleDescriptor()
        Creates new ModuleDescriptor
    • Method Detail

      • setModuleType

        public void setModuleType​(ArchiveType type)
      • getModuleType

        public ArchiveType getModuleType()
        Returns:
        the module type for this module
      • setArchiveUri

        public void setArchiveUri​(String path)
        Sets the archive uri as defined in the application xml or the full archive path for standalone modules
      • getArchiveUri

        public String getArchiveUri()
        Returns:
        the archive uri for this module
      • setAlternateDescriptor

        public void setAlternateDescriptor​(String altDD)
        Sets the path to the alternate deployment descriptors in the application archive
        Parameters:
        altDD - the uri for the deployment descriptors
      • getAlternateDescriptor

        public String getAlternateDescriptor()
        Returns:
        the alternate deployment descriptor path or null if this module does not use alternate deployment descriptors
      • setDescriptor

        public void setDescriptor​(T descriptor)
        Sets the BundleDescriptor descriptor for this module
        Parameters:
        descriptor - the module descriptor
      • getDescriptor

        public T getDescriptor()
        Returns:
        the see BundleDescriptor module descriptor
      • setContextRoot

        public void setContextRoot​(String contextRoot)
        Sets the context root for Web module
        Parameters:
        contextRoot - the contextRoot
      • getContextRoot

        public String getContextRoot()
        Returns:
        the context root for a web module
      • getModuleName

        public String getModuleName()
        Returns the value of the module-name element in the application.xml if it's defined. The default module name is the pathname of the module in the ear file with any filename extension (.jar, .war, .rar) removed, but with any directory names included.
        Returns:
        the module of this application
      • setModuleName

        public void setModuleName​(String moduleName)
        Sets the module name
        Parameters:
        moduleName - the module name of this application
      • getManifest

        public Manifest getManifest()
        Returns:
        the @see Manifest manifest information for this module
      • setManifest

        public void setManifest​(Manifest m)
        Sets the Manifest information for this module
      • isStandalone

        public boolean isStandalone()
        Returns:
        true if this module is a standalone module
      • setStandalone

        public void setStandalone​(boolean standalone)
        Sets the standalone flag
      • getWebDeploymentExtensions

        public Iterator getWebDeploymentExtensions()
        Returns:
        an iterator on the deployment-extension