public class JndiHelper extends Object
| Constructor and Description |
|---|
JndiHelper(Properties environment)
Create a new JndiTemplate instance, using the given environment.
|
| Modifier and Type | Method and Description |
|---|---|
protected Context |
createInitialContext() |
<T> T |
lookup(String name,
Class<T> requiredType) |
public JndiHelper(Properties environment)
protected Context createInitialContext() throws NamingException
NamingExceptionpublic <T> T lookup(String name, Class<T> requiredType) throws NamingException
NamingExceptionApache CXF