|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object toolbox.services.ldap.LDAPServiceEnvironment
public class LDAPServiceEnvironment
ServiceEnvironment implementation to provide access to a
toolbox.ldap.LDAPManager
instance.
Constructor Summary | |
---|---|
LDAPServiceEnvironment()
Default constructor |
Method Summary | |
---|---|
void |
create(java.lang.String name,
java.lang.String config)
Create and set the LDAPManager for this environment. |
void |
destroy()
Destroy this environment by destroying the member LDAPManager. |
LDAPManager |
getLDAPManager()
Return the member LDAPManager. |
java.lang.String |
getName()
Return the name of this environment. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LDAPServiceEnvironment()
Method Detail |
---|
public void create(java.lang.String name, java.lang.String config) throws ServiceException
LDAPManager
for this environment.
create
in interface ServiceEnvironment
name
- The name of the environment.config
- The location of the environment configuration.
ServiceException
- if the environment cannot be created.public java.lang.String getName()
getName
in interface ServiceEnvironment
public LDAPManager getLDAPManager()
public void destroy() throws ServiceException
destroy
in interface ServiceEnvironment
ServiceException
- if this environment cannot be destroyed.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |