org.jboss.modules
Class ModuleSpec

java.lang.Object
  extended by org.jboss.modules.ModuleSpec

public final class ModuleSpec
extends Object

A Module specification which is used by a ModuleLoader to define new modules.

Author:
John Bailey, David M. Lloyd

Nested Class Summary
static interface ModuleSpec.Builder
          A builder for new module specifications.
 
Method Summary
static ModuleSpec.Builder build(ModuleIdentifier moduleIdentifier)
          Get a builder for a new module specification.
 ModuleIdentifier getModuleIdentifier()
          Get the module identifier for the module which is specified by this object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getModuleIdentifier

public ModuleIdentifier getModuleIdentifier()
Get the module identifier for the module which is specified by this object.

Returns:
the module identifier

build

public static ModuleSpec.Builder build(ModuleIdentifier moduleIdentifier)
Get a builder for a new module specification.

Parameters:
moduleIdentifier - the module identifier
Returns:
the builder


Copyright © 2011. All Rights Reserved.