org.jnp.interfaces.java
Class javaURLContextFactory

java.lang.Object
  extended by org.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: 57199 $
Author:
Rickard Oberg

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.