Apache CXF API

org.apache.cxf.transport.jms.util
Class JndiHelper

java.lang.Object
  extended by 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.
 
Method Summary
protected  Context createInitialContext()
           
<T> T
lookup(String name, Class<T> requiredType)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JndiHelper

public JndiHelper(Properties environment)
Create a new JndiTemplate instance, using the given environment.

Method Detail

createInitialContext

protected Context createInitialContext()
                                throws NamingException
Throws:
NamingException

lookup

public <T> T lookup(String name,
                    Class<T> requiredType)
         throws NamingException
Throws:
NamingException

Apache CXF API

Apache CXF