org.apache.naming.resources
public class DirContextURLStreamHandlerFactory extends java.lang.Object implements java.net.URLStreamHandlerFactory
Constructor and Description |
---|
DirContextURLStreamHandlerFactory() |
Modifier and Type | Method and Description |
---|---|
java.net.URLStreamHandler |
createURLStreamHandler(java.lang.String protocol)
Creates a new URLStreamHandler instance with the specified protocol.
|
public java.net.URLStreamHandler createURLStreamHandler(java.lang.String protocol)
jndi
.createURLStreamHandler
in interface java.net.URLStreamHandlerFactory
protocol
- the protocol (must be "jndi" here)Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.