public interface JndiService extends Service
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.
|
java.lang.Object locate(java.lang.String jndiName)
jndiName
- The JNDI name of the object to locatevoid bind(java.lang.String jndiName, java.lang.Object value)
jndiName
- The name under which to bind the objectvalue
- The value to bindvoid unbind(java.lang.String jndiName)
jndiName
- The name under which the object is boundvoid addListener(java.lang.String jndiName, javax.naming.event.NamespaceChangeListener listener)
jndiName
- The JNDI namespacelistener
- The listenerCopyright © 2001-2018 Red Hat, Inc. All Rights Reserved.