|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.dna.graph.ExecutionContexts
public class ExecutionContexts
Utility methods for creating various execution contexts with replacement factories or components.
Constructor Summary | |
---|---|
ExecutionContexts()
|
Method Summary | |
---|---|
static ExecutionContext |
replace(ExecutionContext context,
NameFactory nameFactory)
Create an context that can be used to replace the supplied context but that uses the supplied name factory. |
static ExecutionContext |
replace(ExecutionContext context,
NameFactory nameFactory,
PathFactory pathFactory)
Create an context that can be used to replace the supplied context but that uses the supplied name and path factories. |
static ExecutionContext |
replace(ExecutionContext context,
NamespaceRegistry namespaceRegistry)
Create an context that can be used to replace the supplied context but that uses the supplied namespace registry. |
static ExecutionContext |
replace(ExecutionContext context,
PathFactory pathFactory)
Create an context that can be used to replace the supplied context but that uses the supplied path factory. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ExecutionContexts()
Method Detail |
---|
public static ExecutionContext replace(ExecutionContext context, PathFactory pathFactory)
context
- the base contextpathFactory
- the new path factory
IllegalArgumentException
- if the context or factory references are nullpublic static ExecutionContext replace(ExecutionContext context, NameFactory nameFactory)
context
- the base contextnameFactory
- the new name factory
IllegalArgumentException
- if the context or factory references are nullpublic static ExecutionContext replace(ExecutionContext context, NameFactory nameFactory, PathFactory pathFactory)
context
- the base contextnameFactory
- the new name factorypathFactory
- the new path factory
IllegalArgumentException
- if the context or factory references are nullpublic static ExecutionContext replace(ExecutionContext context, NamespaceRegistry namespaceRegistry)
context
- the base contextnamespaceRegistry
- the new namespace registry
IllegalArgumentException
- if the context or registry references are null
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |