Package org.codelibs.fess.ldap
Class LdapManager.DirContextHolder
java.lang.Object
org.codelibs.fess.ldap.LdapManager.DirContextHolder
- All Implemented Interfaces:
AutoCloseable
- Enclosing class:
LdapManager
A holder for the directory context.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDirContextHolder(DirContext context) Constructs a new directory context holder. -
Method Summary
-
Constructor Details
-
DirContextHolder
Constructs a new directory context holder.- Parameters:
context- The directory context.
-
-
Method Details
-
get
Returns the directory context.- Returns:
- The directory context.
-
inc
public void inc()Increments the counter. -
close
public void close()- Specified by:
closein interfaceAutoCloseable
-