T
- type of ldap objectpublic interface LdapFactory<T extends BaseLdap>
LdapFactory
provides an interface for creating, activating,
validating, and destroying ldap objects.Modifier and Type | Method and Description |
---|---|
boolean |
activate(T t)
Prepare the supplied object for placement in the pool.
|
T |
create()
Create a new ldap object.
|
void |
destroy(T t)
Destroy an ldap object.
|
boolean |
passivate(T t)
Prepare the supplied object for removal from the pool.
|
boolean |
validate(T t)
Verify an ldap object is still viable for use in the pool.
|
T create()
void destroy(T t)
t
- ldap objectboolean activate(T t)
t
- ldap objectboolean passivate(T t)
t
- ldap objectboolean validate(T t)
t
- ldap objectCopyright © 2014. All rights reserved.