org.apache.naming.resources
public class DirContextURLStreamHandlerFactory extends Object implements URLStreamHandlerFactory
Version: $Revision: 467222 $
Constructor Summary | |
---|---|
DirContextURLStreamHandlerFactory() |
Method Summary | |
---|---|
URLStreamHandler | createURLStreamHandler(String protocol)
Creates a new URLStreamHandler instance with the specified protocol.
|
jndi
.
Parameters: protocol the protocol (must be "jndi" here)
Returns: a URLStreamHandler for the jndi protocol, or null if the protocol is not JNDI