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 URLStreamHandlerFactory
protocol
- the protocol (must be "jndi" here)Copyright © 2018. All rights reserved.