public class ENCFactory extends Object implements ObjectFactory
| Constructor and Description |
|---|
ENCFactory() |
| Modifier and Type | Method and Description |
|---|---|
protected Context |
createContext(Hashtable environment) |
protected NamingServer |
createServer()
Util method for possible override.
|
static Object |
getCurrentId() |
static ConcurrentHashMap<Object,Context> |
getEncById() |
static List<Object> |
getIdStack() |
Object |
getObjectInstance(Object obj,
Name name,
Context nameCtx,
Hashtable environment) |
static ClassLoader |
getTopClassLoader() |
static Object |
popContextId() |
static void |
pushContextId(Object id) |
static void |
setTopClassLoader(ClassLoader topLoader) |
public static ConcurrentHashMap<Object,Context> getEncById()
public static void pushContextId(Object id)
public static Object popContextId()
public static Object getCurrentId()
public static void setTopClassLoader(ClassLoader topLoader)
public static ClassLoader getTopClassLoader()
public Object getObjectInstance(Object obj, Name name, Context nameCtx, Hashtable environment) throws Exception
getObjectInstance in interface ObjectFactoryExceptionprotected NamingServer createServer() throws NamingException
NamingException - for any errorprotected Context createContext(Hashtable environment) throws NamingException
NamingExceptionCopyright © 2016 JBoss by Red Hat. All rights reserved.