|
Oracle® Coherence Java API Reference Release 3.7.1.0 E22843-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
com.tangosol.coherence.transaction.DefaultConnectionFactory
public class DefaultConnectionFactory
Connection factory used to obtain a logical connection to a Coherence cache service.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface com.tangosol.coherence.transaction.ConnectionFactory |
---|
ConnectionFactory.ConnectionSpec |
Constructor Summary | |
---|---|
DefaultConnectionFactory() Construct a connection factory. |
|
DefaultConnectionFactory(java.lang.String sConfigURI) Construct a connection factory based on the specified configuration. |
Method Summary | |
---|---|
Connection |
createConnection() Create a connection to a Coherence data grid. |
Connection |
createConnection(java.lang.ClassLoader loader) Create a connection to a Coherence data grid. |
Connection |
createConnection(ConnectionFactory.ConnectionSpec connectionSpec) Create a connection to a Coherence data grid using the specified connection specification . |
Connection |
createConnection(java.lang.String sServiceName) Create a connection to a Coherence data grid. |
Connection |
createConnection(java.lang.String sServiceName, java.lang.ClassLoader loader) Create a connection to a Coherence data grid. |
Constructor Detail |
---|
public DefaultConnectionFactory()
public DefaultConnectionFactory(java.lang.String sConfigURI)
sConfigURI
- the configuration URIMethod Detail |
---|
public Connection createConnection()
createConnection
in interface ConnectionFactory
public Connection createConnection(java.lang.String sServiceName)
createConnection
in interface ConnectionFactory
sServiceName
- the name of the cache service to be associated with the connection; must be specified in a "transactional-scheme" configuration elementpublic Connection createConnection(java.lang.ClassLoader loader)
createConnection
in interface ConnectionFactory
loader
- class loader that should be used to configure the connectionpublic Connection createConnection(java.lang.String sServiceName, java.lang.ClassLoader loader)
createConnection
in interface ConnectionFactory
sServiceName
- the name of the cache service to be associated with the connection; must be specified in a "transactional-scheme" configuration elementloader
- class loader that should be used to configure the connectionpublic Connection createConnection(ConnectionFactory.ConnectionSpec connectionSpec)
connection specification
. The returned connection is associated with a cache service specified by the service name in the given connection specification. All caches obtained through this connection will be associated with this cache service.createConnection
in interface ConnectionFactory
connectionSpec
- the connection specification
|
Oracle® Coherence Java API Reference Release 3.7.1.0 E22843-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |