org.norther.tammi.core.naming.java
Class javaURLContextFactory

java.lang.Object
  extended by org.norther.tammi.core.naming.java.javaURLContextFactory
All Implemented Interfaces:
InitialContextFactory, ObjectFactory

public class javaURLContextFactory
extends Object
implements ObjectFactory, InitialContextFactory

A context factory for the "java:" namespace.

Author:
Remy Maucherat

Constructor Summary
javaURLContextFactory()
           
 
Method Summary
 Context getInitialContext(Hashtable<?,?> environment)
           
 Object getObjectInstance(Object obj, Name name, Context nameCtx, Hashtable<?,?> environment)
           
 
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

getObjectInstance

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

getInitialContext

public Context getInitialContext(Hashtable<?,?> environment)
                          throws NamingException
Specified by:
getInitialContext in interface InitialContextFactory
Throws:
NamingException


Copyright © 2004 The Norther Organization. All rights reserved.