站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 server API Documentation 英文版文档

ENCFactory (JBoss Server API) - JBoss 4.0.1 sp1 server API Documentation 英文版文档


org.jboss.naming
Class ENCFactory

java.lang.Object
  extended byorg.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: 1.11 $
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.