public class

ServiceSourceConnectorConnectionManager

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

Class Overview

A ServiceSourceConnectorConnectionManager is a wrapper around ServiceSourceConnector 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 analysisUrl
private String apiUrl
private GenericKeyedObjectPool connectionPool Connector Pool
protected PoolingProfile connectionPoolingProfile
protected FlowConstruct flowConstruct Flow Construct
private String loginUrl
protected MuleContext muleContext Mule Context
private String password
protected RetryPolicyTemplate retryPolicyTemplate
private String server
private String tenantName
private String username
Public Constructors
ServiceSourceConnectorConnectionManager()
Public Methods
ServiceSourceConnectorConnectionIdentifierAdapter acquireConnection(ServiceSourceConnectorConnectionKey key)
void destroyConnection(ServiceSourceConnectorConnectionKey key, ServiceSourceConnectorConnectionIdentifierAdapter connection)
String getAnalysisUrl()
Retrieves analysisUrl
String getApiUrl()
Retrieves apiUrl
PoolingProfile getConnectionPoolingProfile()
Retrieves connectionPoolingProfile
ServiceSourceConnectorConnectionKey getDefaultConnectionKey()
String getDevkitBuild()
String getDevkitVersion()
FlowConstruct getFlowConstruct()
Retrieves flowConstruct
String getLoginUrl()
Retrieves loginUrl
String getModuleName()
String getModuleVersion()
MuleContext getMuleContext()
Retrieves muleContext
String getPassword()
Retrieves password
<P> ProcessTemplate<P, ServiceSourceConnectorConnectionIdentifierAdapter> getProcessTemplate()
RetryPolicyTemplate getRetryPolicyTemplate()
Retrieves retryPolicyTemplate
String getServer()
Retrieves server
String getTenantName()
Retrieves tenantName
String getUsername()
Retrieves username
void initialise()
boolean isCapableOf(Capability capability)
Returns true if this module implements such capability
void releaseConnection(ServiceSourceConnectorConnectionKey key, ServiceSourceConnectorConnectionIdentifierAdapter connection)
void setAnalysisUrl(String value)
Sets analysisUrl
void setApiUrl(String value)
Sets apiUrl
void setConnectionPoolingProfile(PoolingProfile value)
Sets connectionPoolingProfile
void setFlowConstruct(FlowConstruct value)
Sets flowConstruct
void setLoginUrl(String value)
Sets loginUrl
void setMuleContext(MuleContext value)
Sets muleContext
void setPassword(String value)
Sets password
void setRetryPolicyTemplate(RetryPolicyTemplate value)
Sets retryPolicyTemplate
void setServer(String value)
Sets server
void setTenantName(String value)
Sets tenantName
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: "ServiceSource"

private static final String MODULE_VERSION

Constant Value: "1.0"

Fields

private String analysisUrl

private String apiUrl

private GenericKeyedObjectPool connectionPool

Connector Pool

protected PoolingProfile connectionPoolingProfile

protected FlowConstruct flowConstruct

Flow Construct

private String loginUrl

protected MuleContext muleContext

Mule Context

private String password

protected RetryPolicyTemplate retryPolicyTemplate

private String server

private String tenantName

private String username

Public Constructors

public ServiceSourceConnectorConnectionManager ()

Public Methods

public ServiceSourceConnectorConnectionIdentifierAdapter acquireConnection (ServiceSourceConnectorConnectionKey key)

Parameters
key
Throws
Exception

public void destroyConnection (ServiceSourceConnectorConnectionKey key, ServiceSourceConnectorConnectionIdentifierAdapter connection)

Parameters
key
connection
Throws
Exception

public String getAnalysisUrl ()

Retrieves analysisUrl

public String getApiUrl ()

Retrieves apiUrl

public PoolingProfile getConnectionPoolingProfile ()

Retrieves connectionPoolingProfile

public ServiceSourceConnectorConnectionKey getDefaultConnectionKey ()

public String getDevkitBuild ()

public String getDevkitVersion ()

public FlowConstruct getFlowConstruct ()

Retrieves flowConstruct

public String getLoginUrl ()

Retrieves loginUrl

public String getModuleName ()

public String getModuleVersion ()

public MuleContext getMuleContext ()

Retrieves muleContext

public String getPassword ()

Retrieves password

public ProcessTemplate<P, ServiceSourceConnectorConnectionIdentifierAdapter> getProcessTemplate ()

public RetryPolicyTemplate getRetryPolicyTemplate ()

Retrieves retryPolicyTemplate

public String getServer ()

Retrieves server

public String getTenantName ()

Retrieves tenantName

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 (ServiceSourceConnectorConnectionKey key, ServiceSourceConnectorConnectionIdentifierAdapter connection)

Parameters
key
connection
Throws
Exception

public void setAnalysisUrl (String value)

Sets analysisUrl

Parameters
value Value to set

public void setApiUrl (String value)

Sets apiUrl

Parameters
value Value to set

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 setLoginUrl (String value)

Sets loginUrl

Parameters
value Value to set

public void setMuleContext (MuleContext value)

Sets muleContext

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 setServer (String value)

Sets server

Parameters
value Value to set

public void setTenantName (String value)

Sets tenantName

Parameters
value Value to set

public void setUsername (String value)

Sets username

Parameters
value Value to set