org.jboss.naming
Class ENCFactory

java.lang.Object
  extended by org.jboss.naming.ENCFactory
All Implemented Interfaces:
ObjectFactory

public class ENCFactory
extends Object
implements ObjectFactory

Implementation of "java:comp" namespace factory. The context is associated with the thread class loader.

Version:
$Revision: 57209 $
Author:
Rickard Oberg, Scott Stark

Constructor Summary
ENCFactory()
           
 
Method Summary
 Object getObjectInstance(Object obj, Name name, Context nameCtx, Hashtable environment)
           
static ClassLoader getTopClassLoader()
           
static void setTopClassLoader(ClassLoader topLoader)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ENCFactory

public ENCFactory()
Method Detail

setTopClassLoader

public static void setTopClassLoader(ClassLoader topLoader)

getTopClassLoader

public static ClassLoader getTopClassLoader()

getObjectInstance

public Object getObjectInstance(Object obj,
                                Name name,
                                Context nameCtx,
                                Hashtable environment)
                         throws Exception
Specified by:
getObjectInstance in interface ObjectFactory
Throws:
Exception


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.