org.mortbay.jndi
Class InitialContextFactory

java.lang.Object
  |
  +--org.mortbay.jndi.InitialContextFactory
All Implemented Interfaces:
javax.naming.spi.InitialContextFactory

public class InitialContextFactory
extends java.lang.Object
implements javax.naming.spi.InitialContextFactory

InitialContextFactory.java Factory for the default InitialContext. Created: Tue Jul 1 19:08:08 2003

Version:
1.0
Author:
Jan Bartel

Nested Class Summary
static class InitialContextFactory.DefaultParser
           
 
Constructor Summary
InitialContextFactory()
           
 
Method Summary
 javax.naming.Context getInitialContext(java.util.Hashtable env)
          Get Context that has access to default Namespace.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InitialContextFactory

public InitialContextFactory()
Method Detail

getInitialContext

public javax.naming.Context getInitialContext(java.util.Hashtable env)
Get Context that has access to default Namespace. This method won't be called if a name URL beginning with java: is passed to a Context.

Specified by:
getInitialContext in interface javax.naming.spi.InitialContextFactory
Parameters:
env - a Hashtable value
Returns:
a Context value
See Also:
javaURLContextFactory


Copyright ? 2000 Mortbay Consulting Pty. Ltd. All Rights Reserved.