|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JndiService
Service providing simplified access to JNDI related features needed by Hibernate.
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. |
Method Detail |
---|
Object locate(String jndiName)
jndiName
- The JNDI name of the object to locate
void 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 listener
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |