public class

DynamicsCRMOnpremiseConnectorConnectionManager

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

Class Overview

A DynamicsCRMOnpremiseConnectorConnectionManager is a wrapper around DynamicsCRMOnpremiseConnector 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 GenericKeyedObjectPool connectionPool Connector Pool
protected PoolingProfile connectionPoolingProfile
protected FlowConstruct flowConstruct Flow Construct
private String kerberosConfigPath
private String loginConfigModule
private String loginConfigPath
protected MuleContext muleContext Mule Context
private String organizationServiceUrl
private String password
protected RetryPolicyTemplate retryPolicyTemplate
private String spn
private String username
Public Constructors
DynamicsCRMOnpremiseConnectorConnectionManager()
Public Methods
DynamicsCRMOnpremiseConnectorConnectionIdentifierAdapter acquireConnection(DynamicsCRMOnpremiseConnectorConnectionKey key)
void destroyConnection(DynamicsCRMOnpremiseConnectorConnectionKey key, DynamicsCRMOnpremiseConnectorConnectionIdentifierAdapter connection)
PoolingProfile getConnectionPoolingProfile()
Retrieves connectionPoolingProfile
DynamicsCRMOnpremiseConnectorConnectionKey getDefaultConnectionKey()
String getDevkitBuild()
String getDevkitVersion()
FlowConstruct getFlowConstruct()
Retrieves flowConstruct
String getKerberosConfigPath()
Retrieves kerberosConfigPath
String getLoginConfigModule()
Retrieves loginConfigModule
String getLoginConfigPath()
Retrieves loginConfigPath
String getModuleName()
String getModuleVersion()
MuleContext getMuleContext()
Retrieves muleContext
String getOrganizationServiceUrl()
Retrieves organizationServiceUrl
String getPassword()
Retrieves password
<P> ProcessTemplate<P, DynamicsCRMOnpremiseConnectorConnectionIdentifierAdapter> getProcessTemplate()
RetryPolicyTemplate getRetryPolicyTemplate()
Retrieves retryPolicyTemplate
String getSpn()
Retrieves spn
String getUsername()
Retrieves username
void initialise()
boolean isCapableOf(Capability capability)
Returns true if this module implements such capability
void releaseConnection(DynamicsCRMOnpremiseConnectorConnectionKey key, DynamicsCRMOnpremiseConnectorConnectionIdentifierAdapter connection)
void setConnectionPoolingProfile(PoolingProfile value)
Sets connectionPoolingProfile
void setFlowConstruct(FlowConstruct value)
Sets flowConstruct
void setKerberosConfigPath(String value)
Sets kerberosConfigPath
void setLoginConfigModule(String value)
Sets loginConfigModule
void setLoginConfigPath(String value)
Sets loginConfigPath
void setMuleContext(MuleContext value)
Sets muleContext
void setOrganizationServiceUrl(String value)
Sets organizationServiceUrl
void setPassword(String value)
Sets password
void setRetryPolicyTemplate(RetryPolicyTemplate value)
Sets retryPolicyTemplate
void setSpn(String value)
Sets spn
void setUsername(String value)
Sets username
[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.1377.fd7d4f9"

private static final String DEVKIT_VERSION

Constant Value: "3.3.2"

private static final String MODULE_NAME

Constant Value: "MS Dynamics CRM Onpremise"

private static final String MODULE_VERSION

Constant Value: "1.4"

Fields

private GenericKeyedObjectPool connectionPool

Connector Pool

protected PoolingProfile connectionPoolingProfile

protected FlowConstruct flowConstruct

Flow Construct

private String kerberosConfigPath

private String loginConfigModule

private String loginConfigPath

protected MuleContext muleContext

Mule Context

private String organizationServiceUrl

private String password

protected RetryPolicyTemplate retryPolicyTemplate

private String spn

private String username

Public Constructors

public DynamicsCRMOnpremiseConnectorConnectionManager ()

Public Methods

public DynamicsCRMOnpremiseConnectorConnectionIdentifierAdapter acquireConnection (DynamicsCRMOnpremiseConnectorConnectionKey key)

Parameters
key
Throws
Exception

public void destroyConnection (DynamicsCRMOnpremiseConnectorConnectionKey key, DynamicsCRMOnpremiseConnectorConnectionIdentifierAdapter connection)

Parameters
key
connection
Throws
Exception

public PoolingProfile getConnectionPoolingProfile ()

Retrieves connectionPoolingProfile

public DynamicsCRMOnpremiseConnectorConnectionKey getDefaultConnectionKey ()

public String getDevkitBuild ()

public String getDevkitVersion ()

public FlowConstruct getFlowConstruct ()

Retrieves flowConstruct

public String getKerberosConfigPath ()

Retrieves kerberosConfigPath

public String getLoginConfigModule ()

Retrieves loginConfigModule

public String getLoginConfigPath ()

Retrieves loginConfigPath

public String getModuleName ()

public String getModuleVersion ()

public MuleContext getMuleContext ()

Retrieves muleContext

public String getOrganizationServiceUrl ()

Retrieves organizationServiceUrl

public String getPassword ()

Retrieves password

public ProcessTemplate<P, DynamicsCRMOnpremiseConnectorConnectionIdentifierAdapter> getProcessTemplate ()

public RetryPolicyTemplate getRetryPolicyTemplate ()

Retrieves retryPolicyTemplate

public String getSpn ()

Retrieves spn

public String getUsername ()

Retrieves username

public void initialise ()

public boolean isCapableOf (Capability capability)

Returns true if this module implements such capability

Parameters
capability

public void releaseConnection (DynamicsCRMOnpremiseConnectorConnectionKey key, DynamicsCRMOnpremiseConnectorConnectionIdentifierAdapter connection)

Parameters
key
connection
Throws
Exception

public void setConnectionPoolingProfile (PoolingProfile value)

Sets connectionPoolingProfile

Parameters
value Value to set

public void setFlowConstruct (FlowConstruct value)

Sets flowConstruct

Parameters
value Value to set

public void setKerberosConfigPath (String value)

Sets kerberosConfigPath

Parameters
value Value to set

public void setLoginConfigModule (String value)

Sets loginConfigModule

Parameters
value Value to set

public void setLoginConfigPath (String value)

Sets loginConfigPath

Parameters
value Value to set

public void setMuleContext (MuleContext value)

Sets muleContext

Parameters
value Value to set

public void setOrganizationServiceUrl (String value)

Sets organizationServiceUrl

Parameters
value Value to set

public void setPassword (String value)

Sets password

Parameters
value Value to set

public void setRetryPolicyTemplate (RetryPolicyTemplate value)

Sets retryPolicyTemplate

Parameters
value Value to set

public void setSpn (String value)

Sets spn

Parameters
value Value to set

public void setUsername (String value)

Sets username

Parameters
value Value to set