public class

SiebelBusServiceConnectorConnectionManager

extends Object
implements MuleContextAware Disposable Initialisable Testable Capabilities MetadataAware ConnectionManager<K, C extends Connection> ProcessAdapter<O>
java.lang.Object
   ↳ org.mule.modules.siebel.connectivity.SiebelBusServiceConnectorConnectionManager

Class Overview

A SiebelBusServiceConnectorConnectionManager is a wrapper around SiebelBusServiceConnector 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.Disposable
From interface org.mule.api.lifecycle.Initialisable
Fields
private String busServiceEncoding
private String busServiceLanguage
private String busServiceName
private String busServiceObjectManager
private String busServicePassword
private String busServicePort
private String busServiceServer
private String busServiceUser
private GenericKeyedObjectPool connectionPool Connector Pool
protected PoolingProfile connectionPoolingProfile
protected FlowConstruct flowConstruct Flow Construct
protected MuleContext muleContext Mule Context
protected RetryPolicyTemplate retryPolicyTemplate
Public Constructors
SiebelBusServiceConnectorConnectionManager()
Public Methods
SiebelBusServiceConnectorLicenseChecker acquireConnection(SiebelBusServiceConnectorConnectionKey key)
DefaultResult buildFailureTestResult(Exception exception)
void destroyConnection(SiebelBusServiceConnectorConnectionKey key, SiebelBusServiceConnectorLicenseChecker connection)
void dispose()
String getBusServiceEncoding()
Retrieves busServiceEncoding
String getBusServiceLanguage()
Retrieves busServiceLanguage
String getBusServiceName()
Retrieves busServiceName
String getBusServiceObjectManager()
Retrieves busServiceObjectManager
String getBusServicePassword()
Retrieves busServicePassword
String getBusServicePort()
Retrieves busServicePort
String getBusServiceServer()
Retrieves busServiceServer
String getBusServiceUser()
Retrieves busServiceUser
PoolingProfile getConnectionPoolingProfile()
Retrieves connectionPoolingProfile
SiebelBusServiceConnectorConnectionKey getDefaultConnectionKey()
Retrieve the default connection key
String getDevkitBuild()
Returns the build of the DevKit used to create this module
String getDevkitVersion()
Returns the version of the DevKit used to create this module
FlowConstruct getFlowConstruct()
Retrieves flowConstruct
String getModuleName()
Returns the user-friendly name of this module
String getModuleVersion()
Returns the version of this module
MuleContext getMuleContext()
Retrieves muleContext
<P> ProcessTemplate<P, SiebelBusServiceConnectorLicenseChecker> getProcessTemplate()
RetryPolicyTemplate getRetryPolicyTemplate()
Retrieves retryPolicyTemplate
void initialise()
boolean isCapableOf(Capability capability)
Returns true if this module implements such capability
void releaseConnection(SiebelBusServiceConnectorConnectionKey key, SiebelBusServiceConnectorLicenseChecker connection)
void setBusServiceEncoding(String value)
Sets busServiceEncoding
void setBusServiceLanguage(String value)
Sets busServiceLanguage
void setBusServiceName(String value)
Sets busServiceName
void setBusServiceObjectManager(String value)
Sets busServiceObjectManager
void setBusServicePassword(String value)
Sets busServicePassword
void setBusServicePort(String value)
Sets busServicePort
void setBusServiceServer(String value)
Sets busServiceServer
void setBusServiceUser(String value)
Sets busServiceUser
void setConnectionPoolingProfile(PoolingProfile value)
Sets connectionPoolingProfile
void setFlowConstruct(FlowConstruct value)
Sets flowConstruct
void setMuleContext(MuleContext value)
Sets muleContext
void setRetryPolicyTemplate(RetryPolicyTemplate value)
Sets retryPolicyTemplate
TestResult test()
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.mule.api.context.MuleContextAware
From interface org.mule.api.lifecycle.Disposable
From interface org.mule.api.lifecycle.Initialisable
From interface org.mule.common.Testable
From interface org.mule.modules.siebel.basic.Capabilities
From interface org.mule.modules.siebel.basic.MetadataAware
From interface org.mule.modules.siebel.connection.ConnectionManager
From interface org.mule.modules.siebel.process.ProcessAdapter

Constants

private static final String DEVKIT_BUILD

Constant Value: "3.4.x-multi-connector.1599.47b329e"

private static final String DEVKIT_VERSION

Constant Value: "3.4.2-SNAPSHOT"

private static final String MODULE_NAME

Constant Value: "Oracle Siebel Business Services"

private static final String MODULE_VERSION

Constant Value: "1.0.0"

Fields

private String busServiceEncoding

private String busServiceLanguage

private String busServiceName

private String busServiceObjectManager

private String busServicePassword

private String busServicePort

private String busServiceServer

private String busServiceUser

private GenericKeyedObjectPool connectionPool

Connector Pool

protected PoolingProfile connectionPoolingProfile

protected FlowConstruct flowConstruct

Flow Construct

protected MuleContext muleContext

Mule Context

protected RetryPolicyTemplate retryPolicyTemplate

Public Constructors

public SiebelBusServiceConnectorConnectionManager ()

Public Methods

public SiebelBusServiceConnectorLicenseChecker acquireConnection (SiebelBusServiceConnectorConnectionKey key)

Parameters
key
Throws
Exception

public DefaultResult buildFailureTestResult (Exception exception)

Parameters
exception

public void destroyConnection (SiebelBusServiceConnectorConnectionKey key, SiebelBusServiceConnectorLicenseChecker connection)

Parameters
key
connection
Throws
Exception

public void dispose ()

public String getBusServiceEncoding ()

Retrieves busServiceEncoding

public String getBusServiceLanguage ()

Retrieves busServiceLanguage

public String getBusServiceName ()

Retrieves busServiceName

public String getBusServiceObjectManager ()

Retrieves busServiceObjectManager

public String getBusServicePassword ()

Retrieves busServicePassword

public String getBusServicePort ()

Retrieves busServicePort

public String getBusServiceServer ()

Retrieves busServiceServer

public String getBusServiceUser ()

Retrieves busServiceUser

public PoolingProfile getConnectionPoolingProfile ()

Retrieves connectionPoolingProfile

Returns
  • PoolingProfile representing the pooling parameters

public SiebelBusServiceConnectorConnectionKey getDefaultConnectionKey ()

Retrieve the default connection key

Returns
  • The default connection key

public String getDevkitBuild ()

Returns the build of the DevKit used to create this module

public String getDevkitVersion ()

Returns the version of the DevKit used to create this module

public FlowConstruct getFlowConstruct ()

Retrieves flowConstruct

public String getModuleName ()

Returns the user-friendly name of this module

public String getModuleVersion ()

Returns the version of this module

public MuleContext getMuleContext ()

Retrieves muleContext

public ProcessTemplate<P, SiebelBusServiceConnectorLicenseChecker> getProcessTemplate ()

public RetryPolicyTemplate getRetryPolicyTemplate ()

Retrieves retryPolicyTemplate

Returns
  • The reconnection strategy

public void initialise ()

public boolean isCapableOf (Capability capability)

Returns true if this module implements such capability

Parameters
capability The capability to test for
Returns
  • True if it does, false otherwise

public void releaseConnection (SiebelBusServiceConnectorConnectionKey key, SiebelBusServiceConnectorLicenseChecker connection)

Parameters
key
connection
Throws
Exception

public void setBusServiceEncoding (String value)

Sets busServiceEncoding

Parameters
value Value to set

public void setBusServiceLanguage (String value)

Sets busServiceLanguage

Parameters
value Value to set

public void setBusServiceName (String value)

Sets busServiceName

Parameters
value Value to set

public void setBusServiceObjectManager (String value)

Sets busServiceObjectManager

Parameters
value Value to set

public void setBusServicePassword (String value)

Sets busServicePassword

Parameters
value Value to set

public void setBusServicePort (String value)

Sets busServicePort

Parameters
value Value to set

public void setBusServiceServer (String value)

Sets busServiceServer

Parameters
value Value to set

public void setBusServiceUser (String value)

Sets busServiceUser

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 setMuleContext (MuleContext value)

Sets muleContext

Parameters
value Value to set

public void setRetryPolicyTemplate (RetryPolicyTemplate value)

Sets retryPolicyTemplate

Parameters
value Value to set

public TestResult test ()