java.lang.Object
org.jboss.modules.ModuleSpec
- Direct Known Subclasses:
AliasModuleSpec,ConcreteModuleSpec
A
Module specification which is used by a ModuleLoader to define new modules.- Author:
- David M. Lloyd
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceA builder for new alias module specifications.static interfaceA builder for new concrete module specifications. -
Method Summary
Modifier and TypeMethodDescriptionstatic ModuleSpec.BuilderGet a builder for a new module specification.static ModuleSpec.Builderbuild(ModuleIdentifier moduleIdentifier) Deprecated.static ModuleSpec.AliasBuilderbuildAlias(String name, String aliasName) Get a builder for a new module alias specification.static ModuleSpec.AliasBuilderbuildAlias(ModuleIdentifier moduleIdentifier, ModuleIdentifier aliasTarget) Deprecated.UsebuildAlias(String, String)instead.Deprecated.UsegetName()instead.getName()Get the module name for the module which is specified by this object.
-
Method Details
-
build
Deprecated.Usebuild(String)instead.Get a builder for a new module specification.- Parameters:
moduleIdentifier- the module identifier- Returns:
- the builder
-
build
Get a builder for a new module specification.- Parameters:
name- the module name- Returns:
- the builder
-
buildAlias
@Deprecated public static ModuleSpec.AliasBuilder buildAlias(ModuleIdentifier moduleIdentifier, ModuleIdentifier aliasTarget) Deprecated.UsebuildAlias(String, String)instead.Get a builder for a new module alias specification.- Parameters:
moduleIdentifier- the module identifieraliasTarget- the alias target identifier- Returns:
- the builder
-
buildAlias
Get a builder for a new module alias specification.- Parameters:
name- the module namealiasName- the alias target name- Returns:
- the builder
-
getModuleIdentifier
Deprecated.UsegetName()instead.Get the module identifier for the module which is specified by this object.- Returns:
- the module identifier
-
getName
Get the module name for the module which is specified by this object.- Returns:
- the module name
-
build(String)instead.