Package org.osjava.sj
Class SimpleContext
- java.lang.Object
-
- org.osjava.sj.jndi.DelegatingContext
-
- org.osjava.sj.SimpleContext
-
- All Implemented Interfaces:
javax.naming.Context
public class SimpleContext extends DelegatingContext
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
SIMPLE_DELEGATE
static java.lang.String
SIMPLE_ROOT
static java.lang.String
SIMPLE_SPACE
-
Constructor Summary
Constructors Constructor Description SimpleContext(java.util.Hashtable env)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description private static void
copyFromSystemProperties(java.util.Hashtable env, java.lang.String key)
private static javax.naming.InitialContext
createContext(java.util.Hashtable env)
-
Methods inherited from class org.osjava.sj.jndi.DelegatingContext
addToEnvironment, bind, bind, close, composeName, composeName, createSubcontext, createSubcontext, destroySubcontext, destroySubcontext, getEnvironment, getNameInNamespace, getNameParser, getNameParser, getTarget, list, list, listBindings, listBindings, lookup, lookup, lookupLink, lookupLink, rebind, rebind, removeFromEnvironment, rename, rename, unbind, unbind
-
-
-
-
Field Detail
-
SIMPLE_ROOT
public static final java.lang.String SIMPLE_ROOT
- See Also:
- Constant Field Values
-
SIMPLE_DELEGATE
public static final java.lang.String SIMPLE_DELEGATE
- See Also:
- Constant Field Values
-
SIMPLE_SPACE
public static final java.lang.String SIMPLE_SPACE
- See Also:
- Constant Field Values
-
-
Method Detail
-
createContext
private static javax.naming.InitialContext createContext(java.util.Hashtable env) throws javax.naming.NamingException
- Throws:
javax.naming.NamingException
-
copyFromSystemProperties
private static void copyFromSystemProperties(java.util.Hashtable env, java.lang.String key)
-
-