public class

MaximoConnectorConfigConnectionManagementConnectionManager

extends ExpressionEvaluatorSupport
implements MetadataAware MuleContextAware ProcessAdapter<O> Capabilities Disposable Initialisable Testable ConnectionManagementConnectionManager<Key extends ConnectionManagementConnectionKey, Adapter extends ConnectionManagementConnectorAdapter, Strategy>
java.lang.Object
   ↳ org.mule.devkit.processor.ExpressionEvaluatorSupport
     ↳ com.computime.maximo.connectivity.MaximoConnectorConfigConnectionManagementConnectionManager

Class Overview

A MaximoConnectorConfigConnectionManagementConnectionManager is a wrapper around MaximoConnector that adds connection management capabilities to the pojo.

Summary

Constants
String DEVKIT_BUILD
String DEVKIT_VERSION
String MIN_MULE_VERSION
String MODULE_NAME
String MODULE_VERSION
[Expand]
Inherited Constants
From interface org.mule.api.lifecycle.Disposable
From interface org.mule.api.lifecycle.Initialisable
Fields
private KeyedObjectPool connectionPool Connector Pool
protected MuleContext muleContext Mule Context
private String password
protected PoolingProfile poolingProfile
protected RetryPolicyTemplate retryPolicyTemplate
private String username
private String webAppUrl
Public Constructors
MaximoConnectorConfigConnectionManagementConnectionManager()
Public Methods
MaximoConnectorConnectionManagementAdapter acquireConnection(ConnectionManagementConfigMaximoConnectorConnectionKey key)
void destroyConnection(ConnectionManagementConfigMaximoConnectorConnectionKey key, MaximoConnectorConnectionManagementAdapter connection)
void dispose()
ConnectionManagementConnectionAdapter getConnectionAdapter(ConnectionManagementConnectorAdapter adapter)
ConnectionManagementConfigMaximoConnectorConnectionKey getConnectionKey(MessageProcessor messageProcessor, MuleEvent event)
ConnectionManagementConfigMaximoConnectorConnectionKey getDefaultConnectionKey()
String getDevkitBuild()
String getDevkitVersion()
ConnectionManagementConfigMaximoConnectorConnectionKey getEvaluatedConnectionKey(MuleEvent event)
String getMinMuleVersion()
String getModuleName()
String getModuleVersion()
MuleContext getMuleContext()
Retrieves muleContext
String getPassword()
Retrieves password
PoolingProfile getPoolingProfile()
Retrieves poolingProfile
<P> ProcessTemplate<P, MaximoConnectorConnectionManagementAdapter> getProcessTemplate()
RetryPolicyTemplate getRetryPolicyTemplate()
Retrieves retryPolicyTemplate
String getUsername()
Retrieves username
String getWebAppUrl()
Retrieves webAppUrl
void initialise()
boolean isCapableOf(ModuleCapability capability)
Returns true if this module implements such capability
ConnectionManagementConnectionAdapter newConnection()
ConnectionManagementConnectorAdapter newConnector(ConnectionManagementConnectionAdapter<ConnectionManagementStrategyConnectionManagementConfigMaximoConnectorConnectionKey> connection)
void releaseConnection(ConnectionManagementConfigMaximoConnectorConnectionKey key, MaximoConnectorConnectionManagementAdapter connection)
void setMuleContext(MuleContext value)
Sets muleContext
void setPassword(String value)
Sets password
void setPoolingProfile(PoolingProfile value)
Sets poolingProfile
void setRetryPolicyTemplate(RetryPolicyTemplate value)
Sets retryPolicyTemplate
void setUsername(String value)
Sets username
void setWebAppUrl(String value)
Sets webAppUrl
TestResult test()
[Expand]
Inherited Methods
From class org.mule.devkit.processor.ExpressionEvaluatorSupport
From class java.lang.Object
From interface org.mule.api.MetadataAware
From interface org.mule.api.context.MuleContextAware
From interface org.mule.api.devkit.ProcessAdapter
From interface org.mule.api.devkit.capability.Capabilities
From interface org.mule.api.lifecycle.Disposable
From interface org.mule.api.lifecycle.Initialisable
From interface org.mule.common.Testable
From interface org.mule.devkit.shade.connection.management.ConnectionManagementConnectionManager

Constants

private static final String DEVKIT_BUILD

Constant Value: "UNNAMED.2405.44720b7"

private static final String DEVKIT_VERSION

Constant Value: "3.6.1"

private static final String MIN_MULE_VERSION

Constant Value: "3.5.0"

private static final String MODULE_NAME

Constant Value: "Maximo"

private static final String MODULE_VERSION

Constant Value: "1.0.0"

Fields

private KeyedObjectPool connectionPool

Connector Pool

protected MuleContext muleContext

Mule Context

private String password

protected PoolingProfile poolingProfile

protected RetryPolicyTemplate retryPolicyTemplate

private String username

private String webAppUrl

Public Constructors

public MaximoConnectorConfigConnectionManagementConnectionManager ()

Public Methods

public void destroyConnection (ConnectionManagementConfigMaximoConnectorConnectionKey key, MaximoConnectorConnectionManagementAdapter connection)

Parameters
key
connection
Throws
Exception

public void dispose ()

public ConnectionManagementConnectionAdapter getConnectionAdapter (ConnectionManagementConnectorAdapter adapter)

Parameters
adapter

public ConnectionManagementConfigMaximoConnectorConnectionKey getConnectionKey (MessageProcessor messageProcessor, MuleEvent event)

Parameters
messageProcessor
event
Throws
Exception

public ConnectionManagementConfigMaximoConnectorConnectionKey getDefaultConnectionKey ()

public String getDevkitBuild ()

public String getDevkitVersion ()

public ConnectionManagementConfigMaximoConnectorConnectionKey getEvaluatedConnectionKey (MuleEvent event)

Parameters
event
Throws
Exception

public String getMinMuleVersion ()

public String getModuleName ()

public String getModuleVersion ()

public MuleContext getMuleContext ()

Retrieves muleContext

public String getPassword ()

Retrieves password

public PoolingProfile getPoolingProfile ()

Retrieves poolingProfile

public ProcessTemplate<P, MaximoConnectorConnectionManagementAdapter> getProcessTemplate ()

public RetryPolicyTemplate getRetryPolicyTemplate ()

Retrieves retryPolicyTemplate

public String getUsername ()

Retrieves username

public String getWebAppUrl ()

Retrieves webAppUrl

public void initialise ()

public boolean isCapableOf (ModuleCapability capability)

Returns true if this module implements such capability

Parameters
capability

public ConnectionManagementConnectionAdapter newConnection ()

public ConnectionManagementConnectorAdapter newConnector (ConnectionManagementConnectionAdapter<ConnectionManagementStrategyConnectionManagementConfigMaximoConnectorConnectionKey> connection)

Parameters
connection

public void releaseConnection (ConnectionManagementConfigMaximoConnectorConnectionKey key, MaximoConnectorConnectionManagementAdapter connection)

Parameters
key
connection
Throws
Exception

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 setPoolingProfile (PoolingProfile value)

Sets poolingProfile

Parameters
value Value to set

public void setRetryPolicyTemplate (RetryPolicyTemplate value)

Sets retryPolicyTemplate

Parameters
value Value to set

public void setUsername (String value)

Sets username

Parameters
value Value to set

public void setWebAppUrl (String value)

Sets webAppUrl

Parameters
value Value to set

public TestResult test ()