|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.classloading.spi.dependency.Domain
public class Domain
Domain.
Constructor Summary | |
---|---|
Domain(ClassLoading classLoading,
String name,
String parentDomainName,
boolean parentFirst)
Create a new Domain. |
Method Summary | |
---|---|
void |
addModule(Module module)
Add a module |
Module |
getModule(String name)
Get a module for a context name |
String |
getName()
Get the name. |
Domain |
getParentDomain()
|
String |
getParentDomainName()
Get the parentDomainName. |
boolean |
isParentFirst()
Get the parentFirst. |
protected void |
removeModule(Module module)
Remove a deployment |
protected Module |
resolveModule(Module module,
Requirement requirement)
Resolve a requirement to a module |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Domain(ClassLoading classLoading, String name, String parentDomainName, boolean parentFirst)
classLoading
- the classloadingname
- the nameparentDomainName
- the parent domain nameparentFirst
- whether to check the parent first
IllegalArgumentException
- for a null domain or classloadingMethod Detail |
---|
public String getName()
public String getParentDomainName()
public Domain getParentDomain()
public boolean isParentFirst()
public void addModule(Module module)
module
- the module
IllegalStateException
- if the module is already registered
IllegalArgumentException
- for a null parameterprotected void removeModule(Module module)
module
- the module
IllegalArgumentException
- for a null parameterpublic Module getModule(String name)
name
- the context name
protected Module resolveModule(Module module, Requirement requirement)
module
- the modulerequirement
- the requirement
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |