public interface JndiService extends Service
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.
|
Object locate(String jndiName)
jndiName
- The JNDI name of the object to locatevoid bind(String jndiName, Object value)
jndiName
- The name under which to bind the objectvalue
- The value to bindvoid unbind(String jndiName)
jndiName
- The name under which the object is boundvoid addListener(String jndiName, NamespaceChangeListener listener)
jndiName
- The JNDI namespacelistener
- The listenerCopyright © 2018 JBoss by Red Hat. All rights reserved.