Class ModuleDependency

    • Constructor Detail

      • ModuleDependency

        public ModuleDependency​(org.jboss.modules.ModuleLoader moduleLoader,
                                String identifier,
                                boolean optional,
                                boolean export,
                                boolean importServices,
                                boolean userSpecified)
        Construct a new instance.
        Parameters:
        moduleLoader - the module loader of the dependency (if null, then use the default server module loader)
        identifier - the module identifier
        optional - true if this is an optional dependency
        export - true if resources should be exported by default
        importServices -
        userSpecified - true if this dependency was specified by the user, false if it was automatically added
      • ModuleDependency

        public ModuleDependency​(org.jboss.modules.ModuleLoader moduleLoader,
                                org.jboss.modules.ModuleIdentifier identifier,
                                boolean optional,
                                boolean export,
                                boolean importServices,
                                boolean userSpecified)
        Construct a new instance.
        Parameters:
        moduleLoader - the module loader of the dependency (if null, then use the default server module loader)
        identifier - the module identifier
        optional - true if this is an optional dependency
        export - true if resources should be exported by default
        importServices -
        userSpecified - true if this dependency was specified by the user, false if it was automatically added
    • Method Detail

      • getModuleLoader

        public org.jboss.modules.ModuleLoader getModuleLoader()
      • getIdentifier

        public org.jboss.modules.ModuleIdentifier getIdentifier()
      • isOptional

        public boolean isOptional()
      • isExport

        public boolean isExport()
      • isUserSpecified

        public boolean isUserSpecified()
      • addImportFilter

        public void addImportFilter​(org.jboss.modules.filter.PathFilter pathFilter,
                                    boolean include)
      • addExportFilter

        public void addExportFilter​(org.jboss.modules.filter.PathFilter pathFilter,
                                    boolean include)
      • isImportServices

        public boolean isImportServices()