|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.hibernate.internal.util.jndi.JndiHelper
JndiService
@Deprecated public final class JndiHelper
Helper for dealing with JNDI.
| Method Summary | |
|---|---|
static void |
bind(Context ctx,
String name,
Object val)
Deprecated. Bind val to name in ctx, and make sure that all intermediate contexts exist. |
static Properties |
extractJndiProperties(Map configurationValues)
Deprecated. Given a hodgepodge of properties, extract out the ones relevant for JNDI interaction. |
static InitialContext |
getInitialContext(Properties props)
Deprecated. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static Properties extractJndiProperties(Map configurationValues)
configurationValues - The map of config values
public static InitialContext getInitialContext(Properties props)
throws NamingException
NamingException
public static void bind(Context ctx,
String name,
Object val)
throws NamingException
ctx - the root contextname - the name as a stringval - the object to be bound
NamingException - Indicates a problem performing the bind.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||