MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
com.mysql.clusterj.SessionFactoryService Interface Reference
Inheritance diagram for com.mysql.clusterj.SessionFactoryService:

Public Member Functions

SessionFactory getSessionFactory (Map< String, String > props)

Detailed Description

This interface defines the service to create a SessionFactory from a Map<String, String> of properties.

Definition at line 26 of file SessionFactoryService.java.

Member Function Documentation

SessionFactory com.mysql.clusterj.SessionFactoryService.getSessionFactory ( Map< String, String props)

Create or get a session factory. If a session factory with the same value for PROPERTY_CLUSTER_CONNECTSTRING has already been created in the VM, the existing factory is returned, regardless of whether other properties of the factory are the same as specified in the Map.

Parameters
propsthe properties for the session factory, in which the keys are defined in Constants and the values describe the environment
See Also
Constants
Returns
the session factory

Implemented in com.mysql.clusterj.core.SessionFactoryServiceImpl.

Here is the caller graph for this function:


The documentation for this interface was generated from the following file: