|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.hibernate.service.jndi.internal.JndiServiceImpl
public class JndiServiceImpl
Standard implementation of JNDI services.
Constructor Summary | |
---|---|
JndiServiceImpl(Map configurationValues)
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JndiServiceImpl(Map configurationValues)
Method Detail |
---|
public Object locate(String jndiName)
JndiService
locate
in interface JndiService
jndiName
- The JNDI name of the object to locate
public 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 listener
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |