public class

SolrConnectorConnectionManager

extends Object
implements Capabilities ConnectionManager<K, C> MuleContextAware Initialisable
java.lang.Object
   ↳ org.mule.modules.adapters.SolrConnectorConnectionManager

Class Overview

A SolrConnectorConnectionManager is a wrapper around SolrConnector that adds connection management capabilities to the pojo.

Summary

Nested Classes
class SolrConnectorConnectionManager.ConnectionKey A tuple of connection parameters  
[Expand]
Inherited Constants
From interface org.mule.api.lifecycle.Initialisable
Fields
private GenericKeyedObjectPool connectionPool Connector Pool
protected PoolingProfile connectionPoolingProfile
private FlowConstruct flowConstruct Flow construct
private static Logger logger
private MuleContext muleContext Mule Context
private String password
private String serverUrl
private String username
Public Constructors
SolrConnectorConnectionManager()
Public Methods
SolrConnectorLifecycleAdapter acquireConnection(SolrConnectorConnectionManager.ConnectionKey key)
void destroyConnection(SolrConnectorConnectionManager.ConnectionKey key, SolrConnectorLifecycleAdapter connection)
PoolingProfile getConnectionPoolingProfile()
Retrieves connectionPoolingProfile
String getPassword()
Retrieves password
String getServerUrl()
Retrieves serverUrl
String getUsername()
Retrieves username
void initialise()
boolean isCapableOf(Capability capability)
Returns true if this module implements such capability
void releaseConnection(SolrConnectorConnectionManager.ConnectionKey key, SolrConnectorLifecycleAdapter connection)
void setConnectionPoolingProfile(PoolingProfile value)
Sets connectionPoolingProfile
void setFlowConstruct(FlowConstruct flowConstruct)
Sets flow construct
void setMuleContext(MuleContext context)
Set the Mule context
void setPassword(String value)
Sets password
void setServerUrl(String value)
Sets serverUrl
void setUsername(String value)
Sets username
[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.context.MuleContextAware
From interface org.mule.api.lifecycle.Initialisable

Fields

private GenericKeyedObjectPool connectionPool

Connector Pool

protected PoolingProfile connectionPoolingProfile

private FlowConstruct flowConstruct

Flow construct

private static Logger logger

private MuleContext muleContext

Mule Context

private String password

private String serverUrl

private String username

Public Constructors

public SolrConnectorConnectionManager ()

Public Methods

public SolrConnectorLifecycleAdapter acquireConnection (SolrConnectorConnectionManager.ConnectionKey key)

Parameters
key
Throws
Exception

public void destroyConnection (SolrConnectorConnectionManager.ConnectionKey key, SolrConnectorLifecycleAdapter connection)

Parameters
key
connection
Throws
Exception

public PoolingProfile getConnectionPoolingProfile ()

Retrieves connectionPoolingProfile

public String getPassword ()

Retrieves password

public String getServerUrl ()

Retrieves serverUrl

public String getUsername ()

Retrieves username

public void initialise ()

public boolean isCapableOf (Capability capability)

Returns true if this module implements such capability

Parameters
capability

public void releaseConnection (SolrConnectorConnectionManager.ConnectionKey key, SolrConnectorLifecycleAdapter connection)

Parameters
key
connection
Throws
Exception

public void setConnectionPoolingProfile (PoolingProfile value)

Sets connectionPoolingProfile

Parameters
value Value to set

public void setFlowConstruct (FlowConstruct flowConstruct)

Sets flow construct

Parameters
flowConstruct Flow construct to set

public void setMuleContext (MuleContext context)

Set the Mule context

Parameters
context Mule context to set

public void setPassword (String value)

Sets password

Parameters
value Value to set

public void setServerUrl (String value)

Sets serverUrl

Parameters
value Value to set

public void setUsername (String value)

Sets username

Parameters
value Value to set