org.apache.webbeans.util
Class JNDIUtil

java.lang.Object
  extended by org.apache.webbeans.util.JNDIUtil

public final class JNDIUtil
extends Object

This is the internal helper class for low level access to JNDI

See Also:
for transparent access over SPI

Method Summary
static void bind(String name, Object object)
           
static
<T> T
lookup(String name, Class<? extends T> expectedClass)
           
static void unbind(String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

bind

public static void bind(String name,
                        Object object)

unbind

public static void unbind(String name)

lookup

public static <T> T lookup(String name,
                           Class<? extends T> expectedClass)
                throws WebBeansException
Throws:
WebBeansException


Copyright © 2008-2011 The Apache Software Foundation. All Rights Reserved.