public class DirContextURLStreamHandlerFactory extends Object implements URLStreamHandlerFactory
| Constructor and Description |
|---|
DirContextURLStreamHandlerFactory() |
| Modifier and Type | Method and Description |
|---|---|
URLStreamHandler |
createURLStreamHandler(String protocol)
Creates a new URLStreamHandler instance with the specified protocol.
|
public URLStreamHandler createURLStreamHandler(String protocol)
jndi.createURLStreamHandler in interface URLStreamHandlerFactoryprotocol - the protocol (must be "jndi" here)Copyright © 2017. All rights reserved.