public class JndiHelper extends Object
Constructor and Description |
---|
JndiHelper() |
Modifier and Type | Method and Description |
---|---|
private Context |
getInitialContext() |
private boolean |
isSet(String value) |
Object |
lookup(String jndiName)
Lookup the jndi name
|
void |
rebind(String jndiName,
Object obj)
rebind the object.
|
void |
unbind(String jndiName)
Unbind the jndi name
|
public static final Logger logmon
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 © 2022 ScalAgent D.T.. All rights reserved.