public class

SharepointConnectorConnectionManager

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

Class Overview

A SharepointConnectorConnectionManager is a wrapper around SharepointConnector 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 GenericKeyedObjectPool connectionPool Connector Pool
protected PoolingProfile connectionPoolingProfile
protected FlowConstruct flowConstruct Flow Construct
private String kdcLocation
private String kerberosConfigFile
protected MuleContext muleContext Mule Context
private String password
private String realm
protected RetryPolicyTemplate retryPolicyTemplate
private String serverUrl
private String spn
private String username
Public Constructors
SharepointConnectorConnectionManager()
Public Methods
SharepointConnectorConnectionIdentifierAdapter acquireConnection(SharepointConnectorConnectionKey key)
void destroyConnection(SharepointConnectorConnectionKey key, SharepointConnectorConnectionIdentifierAdapter connection)
PoolingProfile getConnectionPoolingProfile()
Retrieves connectionPoolingProfile
SharepointConnectorConnectionKey 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 getKdcLocation()
Retrieves kdcLocation
String getKerberosConfigFile()
Retrieves kerberosConfigFile
String getModuleName()
Returns the user-friendly name of this module
String getModuleVersion()
Returns the version of this module
MuleContext getMuleContext()
Retrieves muleContext
String getPassword()
Retrieves password
<P> ProcessTemplate<P, SharepointConnectorConnectionIdentifierAdapter> getProcessTemplate()
String getRealm()
Retrieves realm
RetryPolicyTemplate getRetryPolicyTemplate()
Retrieves retryPolicyTemplate
String getServerUrl()
Retrieves serverUrl
String getSpn()
Retrieves spn
String getUsername()
Retrieves username
void initialise()
boolean isCapableOf(Capability capability)
Returns true if this module implements such capability
void releaseConnection(SharepointConnectorConnectionKey key, SharepointConnectorConnectionIdentifierAdapter connection)
void setConnectionPoolingProfile(PoolingProfile value)
Sets connectionPoolingProfile
void setFlowConstruct(FlowConstruct value)
Sets flowConstruct
void setKdcLocation(String value)
Sets kdcLocation
void setKerberosConfigFile(String value)
Sets kerberosConfigFile
void setMuleContext(MuleContext value)
Sets muleContext
void setPassword(String value)
Sets password
void setRealm(String value)
Sets realm
void setRetryPolicyTemplate(RetryPolicyTemplate value)
Sets retryPolicyTemplate
void setServerUrl(String value)
Sets serverUrl
void setSpn(String value)
Sets spn
void setUsername(String value)
Sets username
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.mule.api.context.MuleContextAware
From interface org.mule.api.lifecycle.Initialisable
From interface org.mule.modules.sharepoint.basic.Capabilities
From interface org.mule.modules.sharepoint.basic.MetadataAware
From interface org.mule.modules.sharepoint.connection.ConnectionManager
From interface org.mule.modules.sharepoint.process.ProcessAdapter

Constants

private static final String DEVKIT_BUILD

Constant Value: "3.4.0.1555.8df15c1"

private static final String DEVKIT_VERSION

Constant Value: "3.4.0"

private static final String MODULE_NAME

Constant Value: "MS Sharepoint"

private static final String MODULE_VERSION

Constant Value: "1.7.6"

Fields

private GenericKeyedObjectPool connectionPool

Connector Pool

protected PoolingProfile connectionPoolingProfile

protected FlowConstruct flowConstruct

Flow Construct

private String kdcLocation

private String kerberosConfigFile

protected MuleContext muleContext

Mule Context

private String password

private String realm

protected RetryPolicyTemplate retryPolicyTemplate

private String serverUrl

private String spn

private String username

Public Constructors

public SharepointConnectorConnectionManager ()

Public Methods

public SharepointConnectorConnectionIdentifierAdapter acquireConnection (SharepointConnectorConnectionKey key)

Parameters
key
Throws
Exception

public void destroyConnection (SharepointConnectorConnectionKey key, SharepointConnectorConnectionIdentifierAdapter connection)

Parameters
key
connection
Throws
Exception

public PoolingProfile getConnectionPoolingProfile ()

Retrieves connectionPoolingProfile

Returns
  • PoolingProfile representing the pooling parameters

public SharepointConnectorConnectionKey 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 getKdcLocation ()

Retrieves kdcLocation

public String getKerberosConfigFile ()

Retrieves kerberosConfigFile

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 getPassword ()

Retrieves password

public String getRealm ()

Retrieves realm

public RetryPolicyTemplate getRetryPolicyTemplate ()

Retrieves retryPolicyTemplate

Returns
  • The reconnection strategy

public String getServerUrl ()

Retrieves serverUrl

public String getSpn ()

Retrieves spn

public String getUsername ()

Retrieves username

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 (SharepointConnectorConnectionKey key, SharepointConnectorConnectionIdentifierAdapter 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 setKdcLocation (String value)

Sets kdcLocation

Parameters
value Value to set

public void setKerberosConfigFile (String value)

Sets kerberosConfigFile

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

Sets realm

Parameters
value Value to set

public void setRetryPolicyTemplate (RetryPolicyTemplate value)

Sets retryPolicyTemplate

Parameters
value Value to set

public void setServerUrl (String value)

Sets serverUrl

Parameters
value Value to set

public void setSpn (String value)

Sets spn

Parameters
value Value to set

public void setUsername (String value)

Sets username

Parameters
value Value to set