public class

PayrollInterfaceModuleConnectionManager

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

Class Overview

A PayrollInterfaceModuleConnectionManager is a wrapper around PayrollInterfaceModule 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 GenericKeyedObjectPool connectionPool Connector Pool
protected PoolingProfile connectionPoolingProfile
protected FlowConstruct flowConstruct Flow Construct
protected MuleContext muleContext Mule Context
private String payrollInterfaceEndpoint
private String payrollInterfacePassword
private String payrollInterfaceUser
private String payrollInterfaceWsdlLocation
protected RetryPolicyTemplate retryPolicyTemplate
Public Constructors
PayrollInterfaceModuleConnectionManager()
Public Methods
PayrollInterfaceModuleConnectionIdentifierAdapter acquireConnection(PayrollInterfaceModuleConnectionKey key)
DefaultResult buildFailureTestResult(Exception exception)
void destroyConnection(PayrollInterfaceModuleConnectionKey key, PayrollInterfaceModuleConnectionIdentifierAdapter connection)
void dispose()
PoolingProfile getConnectionPoolingProfile()
Retrieves connectionPoolingProfile
PayrollInterfaceModuleConnectionKey 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
String getPayrollInterfaceEndpoint()
Retrieves payrollInterfaceEndpoint
String getPayrollInterfacePassword()
Retrieves payrollInterfacePassword
String getPayrollInterfaceUser()
Retrieves payrollInterfaceUser
String getPayrollInterfaceWsdlLocation()
Retrieves payrollInterfaceWsdlLocation
<P> ProcessTemplate<P, PayrollInterfaceModuleConnectionIdentifierAdapter> getProcessTemplate()
RetryPolicyTemplate getRetryPolicyTemplate()
Retrieves retryPolicyTemplate
void initialise()
boolean isCapableOf(Capability capability)
Returns true if this module implements such capability
void releaseConnection(PayrollInterfaceModuleConnectionKey key, PayrollInterfaceModuleConnectionIdentifierAdapter connection)
void setConnectionPoolingProfile(PoolingProfile value)
Sets connectionPoolingProfile
void setFlowConstruct(FlowConstruct value)
Sets flowConstruct
void setMuleContext(MuleContext value)
Sets muleContext
void setPayrollInterfaceEndpoint(String value)
Sets payrollInterfaceEndpoint
void setPayrollInterfacePassword(String value)
Sets payrollInterfacePassword
void setPayrollInterfaceUser(String value)
Sets payrollInterfaceUser
void setPayrollInterfaceWsdlLocation(String value)
Sets payrollInterfaceWsdlLocation
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.workday.absence.basic.Capabilities
From interface org.mule.modules.workday.absence.basic.MetadataAware
From interface org.mule.modules.workday.absence.connection.ConnectionManager
From interface org.mule.modules.workday.absence.process.ProcessAdapter

Constants

private static final String DEVKIT_BUILD

Constant Value: "UNNAMED.1616.b8598a7"

private static final String DEVKIT_VERSION

Constant Value: "3.4.2"

private static final String MODULE_NAME

Constant Value: "Workday Payroll Interface"

private static final String MODULE_VERSION

Constant Value: "3.0.0"

Fields

private GenericKeyedObjectPool connectionPool

Connector Pool

protected PoolingProfile connectionPoolingProfile

protected FlowConstruct flowConstruct

Flow Construct

protected MuleContext muleContext

Mule Context

private String payrollInterfaceEndpoint

private String payrollInterfacePassword

private String payrollInterfaceUser

private String payrollInterfaceWsdlLocation

protected RetryPolicyTemplate retryPolicyTemplate

Public Constructors

public PayrollInterfaceModuleConnectionManager ()

Public Methods

public PayrollInterfaceModuleConnectionIdentifierAdapter acquireConnection (PayrollInterfaceModuleConnectionKey key)

Parameters
key
Throws
Exception

public DefaultResult buildFailureTestResult (Exception exception)

Parameters
exception

public void destroyConnection (PayrollInterfaceModuleConnectionKey key, PayrollInterfaceModuleConnectionIdentifierAdapter connection)

Parameters
key
connection
Throws
Exception

public void dispose ()

public PoolingProfile getConnectionPoolingProfile ()

Retrieves connectionPoolingProfile

Returns
  • PoolingProfile representing the pooling parameters

public PayrollInterfaceModuleConnectionKey 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 String getPayrollInterfaceEndpoint ()

Retrieves payrollInterfaceEndpoint

public String getPayrollInterfacePassword ()

Retrieves payrollInterfacePassword

public String getPayrollInterfaceUser ()

Retrieves payrollInterfaceUser

public String getPayrollInterfaceWsdlLocation ()

Retrieves payrollInterfaceWsdlLocation

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 (PayrollInterfaceModuleConnectionKey key, PayrollInterfaceModuleConnectionIdentifierAdapter connection)

Parameters
key
connection
Throws
Exception

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

Sets payrollInterfaceEndpoint

Parameters
value Value to set

public void setPayrollInterfacePassword (String value)

Sets payrollInterfacePassword

Parameters
value Value to set

public void setPayrollInterfaceUser (String value)

Sets payrollInterfaceUser

Parameters
value Value to set

public void setPayrollInterfaceWsdlLocation (String value)

Sets payrollInterfaceWsdlLocation

Parameters
value Value to set

public void setRetryPolicyTemplate (RetryPolicyTemplate value)

Sets retryPolicyTemplate

Parameters
value Value to set

public TestResult test ()