public class DirContextURLStreamHandlerFactory extends Object implements URLStreamHandlerFactory
Modifier and Type | Method and Description |
---|---|
static void |
addUserFactory(URLStreamHandlerFactory factory) |
URLStreamHandler |
createURLStreamHandler(String protocol)
Creates a new URLStreamHandler instance with the specified protocol.
|
static DirContextURLStreamHandlerFactory |
getInstance() |
public static DirContextURLStreamHandlerFactory getInstance()
public static void addUserFactory(URLStreamHandlerFactory factory)
public URLStreamHandler createURLStreamHandler(String protocol)
jndi
.createURLStreamHandler
in interface URLStreamHandlerFactory
protocol
- the protocol (must be "jndi" here)Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.