tyrex.naming
public final class MemoryContextFactory extends Object implements InitialContextFactory
To use this context factory the JNDI properties file must include the following properties:
java.naming.factory.initial=tyrex.naming.MemoryContextFactory java.naming.provider.url=Any non-empty URL will return a context to that path in the object tree, relative to the same shared root. The returned context is read/write.
Version: $Revision: 1.6 $ $Date: 2001/03/19 17:39:01 $
See Also: MemoryContext JavaContext
Method Summary | |
---|---|
static MemoryBinding | getBindings(String path)
Returns a binding in the specified path. |
Context | getInitialContext(Hashtable env)
Returns an initial context based on the Context.PROVIDER_URL
environment attribute. |
Parameters: path The path
Returns: The memory binding for the path
Throws: NamingException Name is invalid