org.apache.cxf.transport.jms.util
Class JndiHelper
java.lang.Object
org.apache.cxf.transport.jms.util.JndiHelper
public class JndiHelper
- extends Object
Constructor Summary |
JndiHelper(Properties environment)
Create a new JndiTemplate instance, using the given environment. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JndiHelper
public JndiHelper(Properties environment)
- Create a new JndiTemplate instance, using the given environment.
createInitialContext
protected Context createInitialContext()
throws NamingException
- Throws:
NamingException
lookup
public <T> T lookup(String name,
Class<T> requiredType)
throws NamingException
- Throws:
NamingException
Apache CXF