|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.myfaces.extensions.cdi.core.impl.util.JndiUtils
@Typed public abstract class JndiUtils
This is the internal helper class for low level access to JNDI
Method Summary | ||
---|---|---|
static void |
bind(String name,
Object object)
Binds a given instance to a given name |
|
static InitialContext |
getInitialContext()
Exposes the current InitialContext |
|
static
|
lookup(String name,
Class<? extends T> expectedClass)
Resolves an instance for the given name. |
|
static void |
unbind(String name)
Unbinds a given name |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static InitialContext getInitialContext()
InitialContext
public static void bind(String name, Object object)
name
- current nameobject
- current instancepublic static void unbind(String name)
name
- current namepublic static <T> T lookup(String name, Class<? extends T> expectedClass)
T
- typename
- current nameexpectedClass
- target type
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |