public class JndiServiceImpl extends Object implements JndiService
Constructor and Description |
---|
JndiServiceImpl(Map configurationValues) |
Modifier and Type | Method and Description |
---|---|
void |
addListener(String jndiName,
NamespaceChangeListener listener)
Adds the specified listener to the given JNDI namespace.
|
void |
bind(String jndiName,
Object value)
Binds a value into JNDI by name.
|
Object |
locate(String jndiName)
Locate an object in JNDI by name
|
void |
unbind(String jndiName)
Unbind a value from JNDI by name.
|
public JndiServiceImpl(Map configurationValues)
public Object locate(String jndiName)
JndiService
locate
in interface JndiService
jndiName
- The JNDI name of the object to locatepublic void bind(String jndiName, Object value)
JndiService
bind
in interface JndiService
jndiName
- The name under which to bind the objectvalue
- The value to bindpublic void unbind(String jndiName)
JndiService
unbind
in interface JndiService
jndiName
- The name under which the object is boundpublic void addListener(String jndiName, NamespaceChangeListener listener)
JndiService
addListener
in interface JndiService
jndiName
- The JNDI namespacelistener
- The listenerCopyright © 2012 JBoss by Red Hat. All Rights Reserved.