public class

JiraConnectorConnectionManager

extends Object
implements Capabilities ConnectionManager<K, C> MuleContextAware Initialisable
java.lang.Object
   ↳ org.mule.module.jira.adapters.JiraConnectorConnectionManager

Class Overview

A JiraConnectorConnectionManager is a wrapper around JiraConnector that adds connection management capabilities to the pojo.

Summary

Nested Classes
class JiraConnectorConnectionManager.ConnectionKey A tuple of connection parameters  
[Expand]
Inherited Constants
From interface org.mule.api.lifecycle.Initialisable
Fields
private String connectionAddress
private String connectionPassword
private GenericKeyedObjectPool connectionPool Connector Pool
protected PoolingProfile connectionPoolingProfile
private String connectionUser
private FlowConstruct flowConstruct Flow construct
private static Logger logger
private MuleContext muleContext Mule Context
Public Constructors
JiraConnectorConnectionManager()
Public Methods
JiraConnectorLifecycleAdapter acquireConnection(JiraConnectorConnectionManager.ConnectionKey key)
void destroyConnection(JiraConnectorConnectionManager.ConnectionKey key, JiraConnectorLifecycleAdapter connection)
String getConnectionAddress()
Retrieves connectionAddress
String getConnectionPassword()
Retrieves connectionPassword
PoolingProfile getConnectionPoolingProfile()
Retrieves connectionPoolingProfile
String getConnectionUser()
Retrieves connectionUser
void initialise()
boolean isCapableOf(Capability capability)
Returns true if this module implements such capability
void releaseConnection(JiraConnectorConnectionManager.ConnectionKey key, JiraConnectorLifecycleAdapter connection)
void setConnectionAddress(String value)
Sets connectionAddress
void setConnectionPassword(String value)
Sets connectionPassword
void setConnectionPoolingProfile(PoolingProfile value)
Sets connectionPoolingProfile
void setConnectionUser(String value)
Sets connectionUser
void setFlowConstruct(FlowConstruct flowConstruct)
Sets flow construct
void setMuleContext(MuleContext context)
Set the Mule context
[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.context.MuleContextAware
From interface org.mule.api.lifecycle.Initialisable

Fields

private String connectionAddress

private String connectionPassword

private GenericKeyedObjectPool connectionPool

Connector Pool

protected PoolingProfile connectionPoolingProfile

private String connectionUser

private FlowConstruct flowConstruct

Flow construct

private static Logger logger

private MuleContext muleContext

Mule Context

Public Constructors

public JiraConnectorConnectionManager ()

Public Methods

public JiraConnectorLifecycleAdapter acquireConnection (JiraConnectorConnectionManager.ConnectionKey key)

Parameters
key
Throws
Exception

public void destroyConnection (JiraConnectorConnectionManager.ConnectionKey key, JiraConnectorLifecycleAdapter connection)

Parameters
key
connection
Throws
Exception

public String getConnectionAddress ()

Retrieves connectionAddress

public String getConnectionPassword ()

Retrieves connectionPassword

public PoolingProfile getConnectionPoolingProfile ()

Retrieves connectionPoolingProfile

public String getConnectionUser ()

Retrieves connectionUser

public void initialise ()

public boolean isCapableOf (Capability capability)

Returns true if this module implements such capability

Parameters
capability

public void releaseConnection (JiraConnectorConnectionManager.ConnectionKey key, JiraConnectorLifecycleAdapter connection)

Parameters
key
connection
Throws
Exception

public void setConnectionAddress (String value)

Sets connectionAddress

Parameters
value Value to set

public void setConnectionPassword (String value)

Sets connectionPassword

Parameters
value Value to set

public void setConnectionPoolingProfile (PoolingProfile value)

Sets connectionPoolingProfile

Parameters
value Value to set

public void setConnectionUser (String value)

Sets connectionUser

Parameters
value Value to set

public void setFlowConstruct (FlowConstruct flowConstruct)

Sets flow construct

Parameters
flowConstruct Flow construct to set

public void setMuleContext (MuleContext context)

Set the Mule context

Parameters
context Mule context to set