public final class ModuleDependency extends Object implements Serializable
| Constructor and Description |
|---|
ModuleDependency(org.jboss.modules.ModuleLoader moduleLoader,
org.jboss.modules.ModuleIdentifier identifier,
boolean optional,
boolean export,
boolean importServices,
boolean userSpecified)
Construct a new instance.
|
ModuleDependency(org.jboss.modules.ModuleLoader moduleLoader,
String identifier,
boolean optional,
boolean export,
boolean importServices,
boolean userSpecified)
Construct a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addExportFilter(org.jboss.modules.filter.PathFilter pathFilter,
boolean include) |
void |
addImportFilter(org.jboss.modules.filter.PathFilter pathFilter,
boolean include) |
List<FilterSpecification> |
getExportFilters() |
org.jboss.modules.ModuleIdentifier |
getIdentifier() |
List<FilterSpecification> |
getImportFilters() |
org.jboss.modules.ModuleLoader |
getModuleLoader() |
boolean |
isExport() |
boolean |
isImportServices() |
boolean |
isOptional() |
boolean |
isUserSpecified() |
String |
toString() |
public ModuleDependency(org.jboss.modules.ModuleLoader moduleLoader,
String identifier,
boolean optional,
boolean export,
boolean importServices,
boolean userSpecified)
moduleLoader - the module loader of the dependency (if null, then use the default server module loader)identifier - the module identifieroptional - true if this is an optional dependencyexport - true if resources should be exported by defaultimportServices - userSpecified - true if this dependency was specified by the user, false if it was automatically addedpublic ModuleDependency(org.jboss.modules.ModuleLoader moduleLoader,
org.jboss.modules.ModuleIdentifier identifier,
boolean optional,
boolean export,
boolean importServices,
boolean userSpecified)
moduleLoader - the module loader of the dependency (if null, then use the default server module loader)identifier - the module identifieroptional - true if this is an optional dependencyexport - true if resources should be exported by defaultimportServices - userSpecified - true if this dependency was specified by the user, false if it was automatically addedpublic org.jboss.modules.ModuleLoader getModuleLoader()
public org.jboss.modules.ModuleIdentifier getIdentifier()
public boolean isOptional()
public boolean isExport()
public boolean isUserSpecified()
public void addImportFilter(org.jboss.modules.filter.PathFilter pathFilter,
boolean include)
public List<FilterSpecification> getImportFilters()
public void addExportFilter(org.jboss.modules.filter.PathFilter pathFilter,
boolean include)
public List<FilterSpecification> getExportFilters()
public boolean isImportServices()
Copyright © 2018 JBoss by Red Hat. All rights reserved.