JndiService
@Deprecated public final class JndiHelper extends Object
Modifier and Type | Method and Description |
---|---|
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.
|
public static Properties extractJndiProperties(Map configurationValues)
configurationValues
- The map of config valuespublic 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 boundNamingException
- Indicates a problem performing the bind.Copyright © 2012 JBoss by Red Hat. All Rights Reserved.