public class

NetSuiteCloudConnectorConnectionManager

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

Class Overview

A NetSuiteCloudConnectorConnectionManager is a wrapper around NetSuiteCloudConnector 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 account
private GenericKeyedObjectPool connectionPool Connector Pool
protected PoolingProfile connectionPoolingProfile
private String defaultEndpoint
private String email
private String endpoint
protected FlowConstruct flowConstruct Flow Construct
protected MuleContext muleContext Mule Context
private String password
protected RetryPolicyTemplate retryPolicyTemplate
private String roleId
Public Constructors
NetSuiteCloudConnectorConnectionManager()
Public Methods
NetSuiteCloudConnectorConnectionIdentifierAdapter acquireConnection(NetSuiteCloudConnectorConnectionKey key)
void destroyConnection(NetSuiteCloudConnectorConnectionKey key, NetSuiteCloudConnectorConnectionIdentifierAdapter connection)
String getAccount()
Retrieves account
PoolingProfile getConnectionPoolingProfile()
Retrieves connectionPoolingProfile
NetSuiteCloudConnectorConnectionKey getDefaultConnectionKey()
String getDefaultEndpoint()
Retrieves defaultEndpoint
String getDevkitBuild()
String getDevkitVersion()
String getEmail()
Retrieves email
String getEndpoint()
Retrieves endpoint
FlowConstruct getFlowConstruct()
Retrieves flowConstruct
String getModuleName()
String getModuleVersion()
MuleContext getMuleContext()
Retrieves muleContext
String getPassword()
Retrieves password
<P> ProcessTemplate<P, NetSuiteCloudConnectorConnectionIdentifierAdapter> getProcessTemplate()
RetryPolicyTemplate getRetryPolicyTemplate()
Retrieves retryPolicyTemplate
String getRoleId()
Retrieves roleId
void initialise()
boolean isCapableOf(Capability capability)
Returns true if this module implements such capability
void releaseConnection(NetSuiteCloudConnectorConnectionKey key, NetSuiteCloudConnectorConnectionIdentifierAdapter connection)
void setAccount(String value)
Sets account
void setConnectionPoolingProfile(PoolingProfile value)
Sets connectionPoolingProfile
void setDefaultEndpoint(String value)
Sets defaultEndpoint
void setEmail(String value)
Sets email
void setEndpoint(String value)
Sets endpoint
void setFlowConstruct(FlowConstruct value)
Sets flowConstruct
void setMuleContext(MuleContext value)
Sets muleContext
void setPassword(String value)
Sets password
void setRetryPolicyTemplate(RetryPolicyTemplate value)
Sets retryPolicyTemplate
void setRoleId(String value)
Sets roleId
[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.1372.db235f3"

private static final String DEVKIT_VERSION

Constant Value: "3.3.2"

private static final String MODULE_NAME

Constant Value: "Netsuite"

private static final String MODULE_VERSION

Constant Value: "3.0.0"

Fields

private String account

private GenericKeyedObjectPool connectionPool

Connector Pool

protected PoolingProfile connectionPoolingProfile

private String defaultEndpoint

private String email

private String endpoint

protected FlowConstruct flowConstruct

Flow Construct

protected MuleContext muleContext

Mule Context

private String password

protected RetryPolicyTemplate retryPolicyTemplate

private String roleId

Public Constructors

public NetSuiteCloudConnectorConnectionManager ()

Public Methods

public NetSuiteCloudConnectorConnectionIdentifierAdapter acquireConnection (NetSuiteCloudConnectorConnectionKey key)

Parameters
key
Throws
Exception

public void destroyConnection (NetSuiteCloudConnectorConnectionKey key, NetSuiteCloudConnectorConnectionIdentifierAdapter connection)

Parameters
key
connection
Throws
Exception

public String getAccount ()

Retrieves account

public PoolingProfile getConnectionPoolingProfile ()

Retrieves connectionPoolingProfile

public NetSuiteCloudConnectorConnectionKey getDefaultConnectionKey ()

public String getDefaultEndpoint ()

Retrieves defaultEndpoint

public String getDevkitBuild ()

public String getDevkitVersion ()

public String getEmail ()

Retrieves email

public String getEndpoint ()

Retrieves endpoint

public FlowConstruct getFlowConstruct ()

Retrieves flowConstruct

public String getModuleName ()

public String getModuleVersion ()

public MuleContext getMuleContext ()

Retrieves muleContext

public String getPassword ()

Retrieves password

public ProcessTemplate<P, NetSuiteCloudConnectorConnectionIdentifierAdapter> getProcessTemplate ()

public RetryPolicyTemplate getRetryPolicyTemplate ()

Retrieves retryPolicyTemplate

public String getRoleId ()

Retrieves roleId

public void initialise ()

public boolean isCapableOf (Capability capability)

Returns true if this module implements such capability

Parameters
capability

public void releaseConnection (NetSuiteCloudConnectorConnectionKey key, NetSuiteCloudConnectorConnectionIdentifierAdapter connection)

Parameters
key
connection
Throws
Exception

public void setAccount (String value)

Sets account

Parameters
value Value to set

public void setConnectionPoolingProfile (PoolingProfile value)

Sets connectionPoolingProfile

Parameters
value Value to set

public void setDefaultEndpoint (String value)

Sets defaultEndpoint

Parameters
value Value to set

public void setEmail (String value)

Sets email

Parameters
value Value to set

public void setEndpoint (String value)

Sets endpoint

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

Sets password

Parameters
value Value to set

public void setRetryPolicyTemplate (RetryPolicyTemplate value)

Sets retryPolicyTemplate

Parameters
value Value to set

public void setRoleId (String value)

Sets roleId

Parameters
value Value to set