public class

LDAPConnectorConnectionManager

extends Object
implements Capabilities ConnectionManager<K, C extends Connection> MetadataAware MuleContextAware Initialisable ProcessAdapter<O>
java.lang.Object
   ↳ org.mule.module.ldap.connectivity.LDAPConnectorConnectionManager

Class Overview

A LDAPConnectorConnectionManager is a wrapper around LDAPConnector that adds connection management capabilities to the pojo.

Summary

Constants
String DEVKIT_BUILD
String DEVKIT_VERSION
String MODULE_NAME
String MODULE_VERSION
[Expand]
Inherited Constants
From interface org.mule.api.lifecycle.Initialisable
Fields
private String authDn
private String authPassword
private String authentication
private GenericKeyedObjectPool connectionPool Connector Pool
protected PoolingProfile connectionPoolingProfile
private Map<String, String> extendedConfiguration
protected FlowConstruct flowConstruct Flow Construct
private int initialPoolSize
private int maxPoolSize
protected MuleContext muleContext Mule Context
private long poolTimeout
private Referral referral
protected RetryPolicyTemplate retryPolicyTemplate
private Type type
private String url
Public Constructors
LDAPConnectorConnectionManager()
Public Methods
LDAPConnectorConnectionIdentifierAdapter acquireConnection(LDAPConnectorConnectionKey key)
void destroyConnection(LDAPConnectorConnectionKey key, LDAPConnectorConnectionIdentifierAdapter connection)
String getAuthDn()
Retrieves authDn
String getAuthPassword()
Retrieves authPassword
String getAuthentication()
Retrieves authentication
PoolingProfile getConnectionPoolingProfile()
Retrieves connectionPoolingProfile
LDAPConnectorConnectionKey getDefaultConnectionKey()
String getDevkitBuild()
String getDevkitVersion()
Map<String, String> getExtendedConfiguration()
Retrieves extendedConfiguration
FlowConstruct getFlowConstruct()
Retrieves flowConstruct
int getInitialPoolSize()
Retrieves initialPoolSize
int getMaxPoolSize()
Retrieves maxPoolSize
String getModuleName()
String getModuleVersion()
MuleContext getMuleContext()
Retrieves muleContext
long getPoolTimeout()
Retrieves poolTimeout
<P> ProcessTemplate<P, LDAPConnectorConnectionIdentifierAdapter> getProcessTemplate()
Referral getReferral()
Retrieves referral
RetryPolicyTemplate getRetryPolicyTemplate()
Retrieves retryPolicyTemplate
Type getType()
Retrieves type
String getUrl()
Retrieves url
void initialise()
boolean isCapableOf(Capability capability)
Returns true if this module implements such capability
void releaseConnection(LDAPConnectorConnectionKey key, LDAPConnectorConnectionIdentifierAdapter connection)
void setAuthDn(String value)
Sets authDn
void setAuthPassword(String value)
Sets authPassword
void setAuthentication(String value)
Sets authentication
void setConnectionPoolingProfile(PoolingProfile value)
Sets connectionPoolingProfile
void setExtendedConfiguration(Map<String, String> value)
Sets extendedConfiguration
void setFlowConstruct(FlowConstruct value)
Sets flowConstruct
void setInitialPoolSize(int value)
Sets initialPoolSize
void setMaxPoolSize(int value)
Sets maxPoolSize
void setMuleContext(MuleContext value)
Sets muleContext
void setPoolTimeout(long value)
Sets poolTimeout
void setReferral(Referral value)
Sets referral
void setRetryPolicyTemplate(RetryPolicyTemplate value)
Sets retryPolicyTemplate
void setType(Type value)
Sets type
void setUrl(String value)
Sets url
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.mule.api.Capabilities
From interface org.mule.api.ConnectionManager
From interface org.mule.api.MetadataAware
From interface org.mule.api.context.MuleContextAware
From interface org.mule.api.lifecycle.Initialisable
From interface org.mule.api.process.ProcessAdapter

Constants

private static final String DEVKIT_BUILD

Constant Value: "UNNAMED.1372.db235f3"

private static final String DEVKIT_VERSION

Constant Value: "3.3.2"

private static final String MODULE_NAME

Constant Value: "LDAP"

private static final String MODULE_VERSION

Constant Value: "1.0.2"

Fields

private String authDn

private String authPassword

private String authentication

private GenericKeyedObjectPool connectionPool

Connector Pool

protected PoolingProfile connectionPoolingProfile

private Map<String, String> extendedConfiguration

protected FlowConstruct flowConstruct

Flow Construct

private int initialPoolSize

private int maxPoolSize

protected MuleContext muleContext

Mule Context

private long poolTimeout

private Referral referral

protected RetryPolicyTemplate retryPolicyTemplate

private Type type

private String url

Public Constructors

public LDAPConnectorConnectionManager ()

Public Methods

public LDAPConnectorConnectionIdentifierAdapter acquireConnection (LDAPConnectorConnectionKey key)

Parameters
key
Throws
Exception

public void destroyConnection (LDAPConnectorConnectionKey key, LDAPConnectorConnectionIdentifierAdapter connection)

Parameters
key
connection
Throws
Exception

public String getAuthDn ()

Retrieves authDn

public String getAuthPassword ()

Retrieves authPassword

public String getAuthentication ()

Retrieves authentication

public PoolingProfile getConnectionPoolingProfile ()

Retrieves connectionPoolingProfile

public LDAPConnectorConnectionKey getDefaultConnectionKey ()

public String getDevkitBuild ()

public String getDevkitVersion ()

public Map<String, String> getExtendedConfiguration ()

Retrieves extendedConfiguration

public FlowConstruct getFlowConstruct ()

Retrieves flowConstruct

public int getInitialPoolSize ()

Retrieves initialPoolSize

public int getMaxPoolSize ()

Retrieves maxPoolSize

public String getModuleName ()

public String getModuleVersion ()

public MuleContext getMuleContext ()

Retrieves muleContext

public long getPoolTimeout ()

Retrieves poolTimeout

public ProcessTemplate<P, LDAPConnectorConnectionIdentifierAdapter> getProcessTemplate ()

public Referral getReferral ()

Retrieves referral

public RetryPolicyTemplate getRetryPolicyTemplate ()

Retrieves retryPolicyTemplate

public Type getType ()

Retrieves type

public String getUrl ()

Retrieves url

public void initialise ()

public boolean isCapableOf (Capability capability)

Returns true if this module implements such capability

Parameters
capability

public void releaseConnection (LDAPConnectorConnectionKey key, LDAPConnectorConnectionIdentifierAdapter connection)

Parameters
key
connection
Throws
Exception

public void setAuthDn (String value)

Sets authDn

Parameters
value Value to set

public void setAuthPassword (String value)

Sets authPassword

Parameters
value Value to set

public void setAuthentication (String value)

Sets authentication

Parameters
value Value to set

public void setConnectionPoolingProfile (PoolingProfile value)

Sets connectionPoolingProfile

Parameters
value Value to set

public void setExtendedConfiguration (Map<String, String> value)

Sets extendedConfiguration

Parameters
value Value to set

public void setFlowConstruct (FlowConstruct value)

Sets flowConstruct

Parameters
value Value to set

public void setInitialPoolSize (int value)

Sets initialPoolSize

Parameters
value Value to set

public void setMaxPoolSize (int value)

Sets maxPoolSize

Parameters
value Value to set

public void setMuleContext (MuleContext value)

Sets muleContext

Parameters
value Value to set

public void setPoolTimeout (long value)

Sets poolTimeout

Parameters
value Value to set

public void setReferral (Referral value)

Sets referral

Parameters
value Value to set

public void setRetryPolicyTemplate (RetryPolicyTemplate value)

Sets retryPolicyTemplate

Parameters
value Value to set

public void setType (Type value)

Sets type

Parameters
value Value to set

public void setUrl (String value)

Sets url

Parameters
value Value to set