Package org.ldaptive.dns
Interface DNSContextFactory
-
- All Known Implementing Classes:
DefaultDNSContextFactory
public interface DNSContextFactory
Interface to provideDirContext
implementations to be used for DNS queries.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DirContext
create()
Creates a new JNDI context.
-
-
-
Method Detail
-
create
DirContext create() throws NamingException
Creates a new JNDI context.- Returns:
- JNDI context
- Throws:
NamingException
- if an error occurs creating the context
-
-