## Uses of Interface
org.apache.activemq.artemis.api.core.client.ClientSessionFactory

- Packages that use ClientSessionFactory
  Package | Description
  --- | ---
  org.apache.activemq.artemis.api.core.client |
  org.apache.activemq.artemis.jms.client |
  org.apache.activemq.artemis.jms.server |
  org.apache.activemq.artemis.spi.core.remoting |

- - ### Uses of ClientSessionFactory in org.apache.activemq.artemis.api.core.client

    Methods in org.apache.activemq.artemis.api.core.client that return ClientSessionFactory
    Modifier and Type | Method and Description
    --- | ---
    `ClientSessionFactory` | ClientSessionFactory.`addFailoverListener(FailoverEventListener listener)` Adds a FailoverEventListener to the session which is notified if a failover event occurs on the session.
    `ClientSessionFactory` | ServerLocator.`createSessionFactory()` Creates a ClientSessionFactory using whatever load balancing policy is in force
    `ClientSessionFactory` | ServerLocator.`createSessionFactory(String nodeID)` Creates a `ClientSessionFactory` to a specific server.
    `ClientSessionFactory` | ServerLocator.`createSessionFactory(TransportConfiguration transportConfiguration)` Creates a `ClientSessionFactory` to a specific server.
    `ClientSessionFactory` | ServerLocator.`createSessionFactory(TransportConfiguration transportConfiguration, int reconnectAttempts, boolean failoverOnInitialConnection)` Creates a `ClientSessionFactory` to a specific server.
    `ClientSessionFactory` | ClientSession.`getSessionFactory()` Return the sessionFactory used to created this Session.

  - ### Uses of ClientSessionFactory in org.apache.activemq.artemis.jms.client

    Methods in org.apache.activemq.artemis.jms.client that return ClientSessionFactory
    Modifier and Type | Method and Description
    --- | ---
    `ClientSessionFactory` | ActiveMQConnection.`getSessionFactory()`

    Constructors in org.apache.activemq.artemis.jms.client with parameters of type ClientSessionFactory
    Constructor and Description
    `ActiveMQConnection(ConnectionFactoryOptions options, String username, String password, int connectionType, String clientID, int dupsOKBatchSize, int transactionBatchSize, ClientSessionFactory sessionFactory)`
    `ActiveMQXAConnection(ConnectionFactoryOptions options, String username, String password, int connectionType, String clientID, int dupsOKBatchSize, int transactionBatchSize, ClientSessionFactory sessionFactory)`

  - ### Uses of ClientSessionFactory in org.apache.activemq.artemis.jms.server

    Methods in org.apache.activemq.artemis.jms.server with parameters of type ClientSessionFactory
    Modifier and Type | Method and Description
    --- | ---
    `void` | ActiveMQJMSServerLogger.`xaRecoverConnectionError(Exception e, ClientSessionFactory csf)`

  - ### Uses of ClientSessionFactory in org.apache.activemq.artemis.spi.core.remoting

    Methods in org.apache.activemq.artemis.spi.core.remoting that return ClientSessionFactory
    Modifier and Type | Method and Description
    --- | ---
    `ClientSessionFactory` | ClientProtocolManager.`getSessionFactory()`

    Methods in org.apache.activemq.artemis.spi.core.remoting with parameters of type ClientSessionFactory
    Modifier and Type | Method and Description
    --- | ---
    `void` | ClientProtocolManager.`setSessionFactory(ClientSessionFactory factory)`

Copyright © 2017 The Apache Software Foundation. All rights reserved.