org.apache.naming.resources
Class DirContextURLStreamHandlerFactory
java.lang.Object
org.apache.naming.resources.DirContextURLStreamHandlerFactory
- URLStreamHandlerFactory
public class DirContextURLStreamHandlerFactory
extends java.lang.Object
implements URLStreamHandlerFactory
Factory for Stream handlers to a JNDI directory context.
Version:
- Remy Maucherat
URLStreamHandler | createURLStreamHandler(String protocol) - Creates a new URLStreamHandler instance with the specified protocol.
|
DirContextURLStreamHandlerFactory
public DirContextURLStreamHandlerFactory()
createURLStreamHandler
public URLStreamHandler createURLStreamHandler(String protocol)
Creates a new URLStreamHandler instance with the specified protocol.
Will return null if the protocol is not jndi
.
protocol
- the protocol (must be "jndi" here)
- a URLStreamHandler for the jndi protocol, or null if the
protocol is not JNDI
Copyright B) 2000-2003 Apache Software Foundation. All Rights Reserved.