Interface JndiService
- All Superinterfaces:
Serializable, Service
Service providing simplified access to JNDI related features needed by Hibernate.
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddListener(String jndiName, NamespaceChangeListener listener) Adds the specified listener to the given JNDI namespace.voidBinds a value into JNDI by name.Locate an object in JNDI by namevoidUnbind a value from JNDI by name.
-
Method Details
-
locate
-
bind
-
unbind
Unbind a value from JNDI by name.- Parameters:
jndiName- The name under which the object is bound
-
addListener
Adds the specified listener to the given JNDI namespace.- Parameters:
jndiName- The JNDI namespacelistener- The listener
-