public class LDAPPool<PooledClass> extends Object
Constructor and Description |
---|
LDAPPool() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
close(boolean force) |
int |
countAcquiredConnections() |
void |
displayPoolInfo() |
PooledClass |
getConnection() |
HashMap<PooledClass,org.mule.module.ldap.config.ConnectionInformation> |
getConnectionInfo() |
int |
getInitialPoolSize() |
int |
getMaxPoolSize() |
String |
getPooledClassCloseMethodName() |
long |
getTimeout() |
void |
initConnections() |
static void |
log(String message) |
static void |
log(String message,
boolean isCustomerInfo) |
void |
releaseConnection(PooledClass connection) |
void |
removeTimedoutConnections() |
void |
setConnectionCreatorArgs(String key,
Object[] connectionCreatorArgs) |
void |
setInitialPoolSize(int initialPoolSize) |
void |
setMaxPoolSize(int maxPoolSize) |
void |
setPooledClassCloseMethodName(String pooledClassCloseMethodName) |
void |
setPooledObjectCreator(Object connectionCreatorObject,
Method connectionCreatorMethod) |
void |
setTimeout(long timeout) |
void |
terminateAllUnacquiredConnections(boolean force) |
public void setPooledObjectCreator(Object connectionCreatorObject, Method connectionCreatorMethod)
public void setConnectionCreatorArgs(String key, Object[] connectionCreatorArgs)
public PooledClass getConnection()
public void releaseConnection(PooledClass connection)
public void removeTimedoutConnections() throws NamingException
NamingException
public void terminateAllUnacquiredConnections(boolean force)
public void initConnections() throws InvocationTargetException, IllegalAccessException, LDAPException
public void close()
public void close(boolean force)
public static void log(String message)
public static void log(String message, boolean isCustomerInfo)
public int countAcquiredConnections()
public void displayPoolInfo()
public int getInitialPoolSize()
public void setInitialPoolSize(int initialPoolSize)
public int getMaxPoolSize()
public void setMaxPoolSize(int maxPoolSize)
public long getTimeout()
public void setTimeout(long timeout)
public String getPooledClassCloseMethodName()
public void setPooledClassCloseMethodName(String pooledClassCloseMethodName)
public HashMap<PooledClass,org.mule.module.ldap.config.ConnectionInformation> getConnectionInfo()
Copyright © 2010–2018. All rights reserved.