public class DirContextURLStreamHandlerFactory
extends java.lang.Object
implements java.net.URLStreamHandlerFactory
Modifier and Type | Method and Description |
---|---|
static void |
addUserFactory(java.net.URLStreamHandlerFactory factory) |
java.net.URLStreamHandler |
createURLStreamHandler(java.lang.String protocol)
Creates a new URLStreamHandler instance with the specified protocol.
|
static DirContextURLStreamHandlerFactory |
getInstance() |
public static DirContextURLStreamHandlerFactory getInstance()
public static void addUserFactory(java.net.URLStreamHandlerFactory factory)
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-2015 Apache Software Foundation. All Rights Reserved.