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

javaURLContextFactory (JBoss Naming API) - JBoss 3.2.7 naming API Documentation 英文版文档


org.jnp.interfaces.java
Class javaURLContextFactory

java.lang.Object
  extended byorg.jnp.interfaces.java.javaURLContextFactory
All Implemented Interfaces:
ObjectFactory

public class javaURLContextFactory
extends Object
implements ObjectFactory

Implementation of "java:" namespace factory. The context is associated with the thread, so the root context must be set before this is used in a thread

Version:
$Revision: 1.2 $
Author:
$Author: oberg $
See Also:

Constructor Summary
javaURLContextFactory()
           
 
Method Summary
 Object getObjectInstance(Object obj, Name name, Context nameCtx, Hashtable environment)
           
static Naming getRoot()
           
static void setRoot(Naming srv)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

javaURLContextFactory

public javaURLContextFactory()
Method Detail

setRoot

public static void setRoot(Naming srv)

getRoot

public static Naming getRoot()

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.