Class SalesforceClient.ConnectionProvider

java.lang.Object
org.codelibs.fess.ds.salesforce.SalesforceClient.ConnectionProvider
All Implemented Interfaces:
org.codelibs.core.timer.TimeoutTarget
Enclosing class:
SalesforceClient

protected static class SalesforceClient.ConnectionProvider extends Object implements org.codelibs.core.timer.TimeoutTarget
  • Field Details

    • logger

      protected static final org.slf4j.Logger logger
    • authType

      protected final String authType
    • username

      protected final String username
    • pass

      protected final String pass
    • privateKey

      protected final String privateKey
    • securityToken

      protected final String securityToken
    • clientId

      protected final String clientId
    • clientSecret

      protected final String clientSecret
    • baseUrl

      protected final String baseUrl
    • refreshInterval

      protected final Long refreshInterval
    • proxy

      protected Proxy proxy
    • partnerConnection

      protected com.sforce.soap.partner.PartnerConnection partnerConnection
    • bulkConnection

      protected com.sforce.async.BulkConnection bulkConnection
  • Constructor Details

    • ConnectionProvider

      protected ConnectionProvider(org.codelibs.fess.entity.DataStoreParams paramMap)
  • Method Details

    • expired

      public void expired()
      Specified by:
      expired in interface org.codelibs.core.timer.TimeoutTarget
    • getBulkConnection

      protected com.sforce.async.BulkConnection getBulkConnection()
    • getPartnerConnection

      protected com.sforce.soap.partner.PartnerConnection getPartnerConnection()
    • getConnection

      protected com.sforce.soap.partner.PartnerConnection getConnection()
    • refreshConnection

      protected void refreshConnection()
    • getConnectionByToken

      protected com.sforce.soap.partner.PartnerConnection getConnectionByToken() throws com.sforce.ws.ConnectionException
      Throws:
      com.sforce.ws.ConnectionException
    • getConnectionByPass

      protected com.sforce.soap.partner.PartnerConnection getConnectionByPass() throws com.sforce.ws.ConnectionException
      Throws:
      com.sforce.ws.ConnectionException
    • getBulkConnection

      protected com.sforce.async.BulkConnection getBulkConnection(com.sforce.soap.partner.PartnerConnection connection) throws com.sforce.async.AsyncApiException
      Throws:
      com.sforce.async.AsyncApiException
    • createConnectorConfig

      protected com.sforce.ws.ConnectorConfig createConnectorConfig(TokenResponse response)
    • getTokenResponseByToken

      protected TokenResponse getTokenResponseByToken()
    • getTokenResponseByPass

      protected TokenResponse getTokenResponseByPass()