public abstract class NamespaceContextSelector extends Object
org.jboss.as.naming.contexts.NamespaceObjectFactory
to determine
which context to return.Constructor and Description |
---|
NamespaceContextSelector() |
Modifier and Type | Method and Description |
---|---|
abstract Context |
getContext(String identifier)
Get the context for a given identifier (eg.
|
static NamespaceContextSelector |
getCurrentSelector()
Get the current context selector for the current thread.
|
static NamespaceContextSelector |
popCurrentSelector()
Pops the current selector for the thread, replacing it with the previous selector
|
static void |
pushCurrentSelector(NamespaceContextSelector selector)
Set the current context selector for the current thread.
|
static void |
setDefault(NamespaceContextSelector selector) |
public static void pushCurrentSelector(NamespaceContextSelector selector)
selector
- The current selectorpublic static NamespaceContextSelector popCurrentSelector()
public static NamespaceContextSelector getCurrentSelector()
public abstract Context getContext(String identifier)
identifier
- The context identifierpublic static void setDefault(NamespaceContextSelector selector)
Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.