public class JndiHelper extends Object
Modifier and Type | Field and Description |
---|---|
static org.objectweb.util.monolog.api.Logger |
logmon |
Constructor and Description |
---|
JndiHelper() |
private final boolean isSet(String value)
private Context getInitialContext() throws IOException, NamingException
IOException
NamingException
public void rebind(String jndiName, Object obj) throws NamingException
jndiName
- the jndi nameobj
- object to rebindNamingException
public void unbind(String jndiName)
jndiName
- the jndi namepublic Object lookup(String jndiName) throws NamingException
jndiName
- the jndi nameNamingException
Copyright © 2018 ScalAgent D.T.. All Rights Reserved.