|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||

java.lang.Objecttoolbox.ldap.LDAPManagerImpl
public class LDAPManagerImpl
Default LDAPManager implementation.
| Constructor Summary | |
|---|---|
LDAPManagerImpl()
Default constructor |
|
| Method Summary | |
|---|---|
void |
destroy()
Destroy this manager. |
AttributesBuilder |
getAttributesBuilder()
Return the AttributesBuilder instance configured for this manager. |
javax.naming.directory.DirContext |
getDirContext()
Return a DirContext instance. |
LDAPWorker |
getLDAPWorker()
Return the LDAPWorker instance configured for this manager. |
MapBuilder |
getMapBuilder()
Return the MapBuilder instance configured for this manager. |
void |
init(java.lang.String name,
XMLProperties xmlProps)
Initialise this manager with the given name and XML configuration properties. |
void |
releaseDirContext(javax.naming.directory.DirContext ctx)
Dispose of the given DirContext. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LDAPManagerImpl()
| Method Detail |
|---|
public void init(java.lang.String name,
XMLProperties xmlProps)
throws LDAPException
init in interface LDAPManagername - The name of this manager.xmlProps - XMLProperites instance containing manager configuration.
LDAPException - if the manager cannot be initialised.
public javax.naming.directory.DirContext getDirContext()
throws LDAPException
getDirContext in interface LDAPManagerLDAPException - if a DirContext instance cannot be returned.
public void releaseDirContext(javax.naming.directory.DirContext ctx)
throws LDAPException
releaseDirContext in interface LDAPManagerctx - DirContext instance to dispose of.
LDAPException - if the DirContext cannot be disposed of.public LDAPWorker getLDAPWorker()
getLDAPWorker in interface LDAPManagerpublic MapBuilder getMapBuilder()
getMapBuilder in interface LDAPManagerpublic AttributesBuilder getAttributesBuilder()
getAttributesBuilder in interface LDAPManager
public void destroy()
throws LDAPException
destroy in interface LDAPManagerLDAPException - if this manager cannot be destroyed.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||