org.openejb.core.ivm.naming
Class InitContextFactory

java.lang.Object
  extended by org.openejb.core.ivm.naming.InitContextFactory
All Implemented Interfaces:
InitialContextFactory

public class InitContextFactory
extends Object
implements InitialContextFactory

Invoked by server on the OpenEJB JNDI global name space. Allows application clients in the same vm to lookup beans in the OpenEJB global name space. If OpenEJB is not initialized when getInitialContext(env) is called, the IntraVM Server will initialize OpenEJB as an in VM EJB Server. In this case, OpenEJB is not capable of receiving remote calls.

Author:
David Blevins, Richard Monson-Haefel

Constructor Summary
InitContextFactory()
           
 
Method Summary
 Context getInitialContext(Hashtable env)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InitContextFactory

public InitContextFactory()
Method Detail

getInitialContext

public Context getInitialContext(Hashtable env)
                          throws NamingException
Specified by:
getInitialContext in interface InitialContextFactory
Throws:
NamingException


Copyright © 1999-2008 OpenEJB. All Rights Reserved.