|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.hibernate.util.NamingHelper
public final class NamingHelper
| Method Summary | |
|---|---|
static void |
bind(javax.naming.Context ctx,
java.lang.String name,
java.lang.Object val)
Bind val to name in ctx, and make sure that all intermediate contexts exist. |
static javax.naming.InitialContext |
getInitialContext(java.util.Properties props)
|
static java.util.Properties |
getJndiProperties(java.util.Properties properties)
Transform JNDI properties passed in the form hibernate.jndi.* to the format accepted by InitialContext by triming the leading "hibernate.jndi". |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static javax.naming.InitialContext getInitialContext(java.util.Properties props)
throws javax.naming.NamingException
javax.naming.NamingException
public static void bind(javax.naming.Context ctx,
java.lang.String name,
java.lang.Object val)
throws javax.naming.NamingException
ctx - the root contextname - the name as a stringval - the object to be bound
javax.naming.NamingExceptionpublic static java.util.Properties getJndiProperties(java.util.Properties properties)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||