|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.vt.middleware.ldap.pool.AbstractLdapFactory<Ldap>
edu.vt.middleware.ldap.pool.DefaultLdapFactory
public class DefaultLdapFactory
DefaultLdapFactory provides a simple implementation of an ldap
factory.
| Field Summary |
|---|
| Fields inherited from class edu.vt.middleware.ldap.pool.AbstractLdapFactory |
|---|
activator, logger, passivator, validator |
| Constructor Summary | |
|---|---|
DefaultLdapFactory()
This creates a new DefaultLdapFactory with the default
properties file, which must be located in your classpath. |
|
DefaultLdapFactory(InputStream is)
This creates a new DefaultLdapFactory with the supplied input
stream. |
|
DefaultLdapFactory(LdapConfig lc)
This creates a new DefaultLdapFactory with the supplied ldap
configuration. |
|
| Method Summary | |
|---|---|
Ldap |
create()
Create a new ldap object. |
void |
destroy(Ldap l)
Destroy an ldap object. |
boolean |
getConnectOnCreate()
Returns whether ldap objects will attempt to connect after creation. |
void |
setConnectOnCreate(boolean b)
This sets whether newly created ldap objects will attempt to connect. |
| Methods inherited from class edu.vt.middleware.ldap.pool.AbstractLdapFactory |
|---|
activate, getLdapActivator, getLdapPassivator, getLdapValidator, passivate, setLdapActivator, setLdapPassivator, setLdapValidator, validate |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultLdapFactory()
DefaultLdapFactory with the default
properties file, which must be located in your classpath.
public DefaultLdapFactory(InputStream is)
DefaultLdapFactory with the supplied input
stream.
is - InputStreampublic DefaultLdapFactory(LdapConfig lc)
DefaultLdapFactory with the supplied ldap
configuration. The ldap configuration will be marked as immutable by this
factory.
lc - ldap config| Method Detail |
|---|
public boolean getConnectOnCreate()
booleanpublic void setConnectOnCreate(boolean b)
b - connect on createpublic Ldap create()
create in interface LdapFactory<Ldap>create in class AbstractLdapFactory<Ldap>public void destroy(Ldap l)
destroy in interface LdapFactory<Ldap>destroy in class AbstractLdapFactory<Ldap>l - ldap object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||