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