public class

GetSatisfactionConnectorConnectionManager

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

Class Overview

A GetSatisfactionConnectorConnectionManager is a wrapper around GetSatisfactionConnector 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 companyName
private GenericKeyedObjectPool connectionPool Connector Pool
protected PoolingProfile connectionPoolingProfile
private String email
protected FlowConstruct flowConstruct Flow Construct
private String fullName
private String key
protected MuleContext muleContext Mule Context
protected RetryPolicyTemplate retryPolicyTemplate
private String secret
private String uid
Public Constructors
GetSatisfactionConnectorConnectionManager()
Public Methods
GetSatisfactionConnectorRestClientAdapter acquireConnection(GetSatisfactionConnectorConnectionKey key)
void destroyConnection(GetSatisfactionConnectorConnectionKey key, GetSatisfactionConnectorRestClientAdapter connection)
String getCompanyName()
Retrieves companyName
PoolingProfile getConnectionPoolingProfile()
Retrieves connectionPoolingProfile
GetSatisfactionConnectorConnectionKey getDefaultConnectionKey()
String getDevkitBuild()
String getDevkitVersion()
String getEmail()
Retrieves email
FlowConstruct getFlowConstruct()
Retrieves flowConstruct
String getFullName()
Retrieves fullName
String getKey()
Retrieves key
String getModuleName()
String getModuleVersion()
MuleContext getMuleContext()
Retrieves muleContext
<P> ProcessTemplate<P, GetSatisfactionConnectorRestClientAdapter> getProcessTemplate()
RetryPolicyTemplate getRetryPolicyTemplate()
Retrieves retryPolicyTemplate
String getSecret()
Retrieves secret
String getUid()
Retrieves uid
void initialise()
boolean isCapableOf(Capability capability)
Returns true if this module implements such capability
void releaseConnection(GetSatisfactionConnectorConnectionKey key, GetSatisfactionConnectorRestClientAdapter connection)
void setCompanyName(String value)
Sets companyName
void setConnectionPoolingProfile(PoolingProfile value)
Sets connectionPoolingProfile
void setEmail(String value)
Sets email
void setFlowConstruct(FlowConstruct value)
Sets flowConstruct
void setFullName(String value)
Sets fullName
void setKey(String value)
Sets key
void setMuleContext(MuleContext value)
Sets muleContext
void setRetryPolicyTemplate(RetryPolicyTemplate value)
Sets retryPolicyTemplate
void setSecret(String value)
Sets secret
void setUid(String value)
Sets uid
[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: "GetSatisfaction"

private static final String MODULE_VERSION

Constant Value: "1.0.1"

Fields

private String companyName

private GenericKeyedObjectPool connectionPool

Connector Pool

protected PoolingProfile connectionPoolingProfile

private String email

protected FlowConstruct flowConstruct

Flow Construct

private String fullName

private String key

protected MuleContext muleContext

Mule Context

protected RetryPolicyTemplate retryPolicyTemplate

private String secret

private String uid

Public Constructors

public GetSatisfactionConnectorConnectionManager ()

Public Methods

public GetSatisfactionConnectorRestClientAdapter acquireConnection (GetSatisfactionConnectorConnectionKey key)

Parameters
key
Throws
Exception

public void destroyConnection (GetSatisfactionConnectorConnectionKey key, GetSatisfactionConnectorRestClientAdapter connection)

Parameters
key
connection
Throws
Exception

public String getCompanyName ()

Retrieves companyName

public PoolingProfile getConnectionPoolingProfile ()

Retrieves connectionPoolingProfile

public GetSatisfactionConnectorConnectionKey getDefaultConnectionKey ()

public String getDevkitBuild ()

public String getDevkitVersion ()

public String getEmail ()

Retrieves email

public FlowConstruct getFlowConstruct ()

Retrieves flowConstruct

public String getFullName ()

Retrieves fullName

public String getKey ()

Retrieves key

public String getModuleName ()

public String getModuleVersion ()

public MuleContext getMuleContext ()

Retrieves muleContext

public ProcessTemplate<P, GetSatisfactionConnectorRestClientAdapter> getProcessTemplate ()

public RetryPolicyTemplate getRetryPolicyTemplate ()

Retrieves retryPolicyTemplate

public String getSecret ()

Retrieves secret

public String getUid ()

Retrieves uid

public void initialise ()

public boolean isCapableOf (Capability capability)

Returns true if this module implements such capability

Parameters
capability

public void releaseConnection (GetSatisfactionConnectorConnectionKey key, GetSatisfactionConnectorRestClientAdapter connection)

Parameters
key
connection
Throws
Exception

public void setCompanyName (String value)

Sets companyName

Parameters
value Value to set

public void setConnectionPoolingProfile (PoolingProfile value)

Sets connectionPoolingProfile

Parameters
value Value to set

public void setEmail (String value)

Sets email

Parameters
value Value to set

public void setFlowConstruct (FlowConstruct value)

Sets flowConstruct

Parameters
value Value to set

public void setFullName (String value)

Sets fullName

Parameters
value Value to set

public void setKey (String value)

Sets key

Parameters
value Value to set

public void setMuleContext (MuleContext value)

Sets muleContext

Parameters
value Value to set

public void setRetryPolicyTemplate (RetryPolicyTemplate value)

Sets retryPolicyTemplate

Parameters
value Value to set

public void setSecret (String value)

Sets secret

Parameters
value Value to set

public void setUid (String value)

Sets uid

Parameters
value Value to set