|
Oracle® Coherence Java API Reference Release 3.6.0.0 E15725-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.
Constructor Summary | |
---|---|
DefaultConnectionFactory() Construct a connection factory. |
|
DefaultConnectionFactory(String sConfigURI) Construct a connection factory based on the specified configuration. |
Method Summary | |
---|---|
Connection |
createConnection() Create a connection to the default transactional Coherence cache service. |
Connection |
createConnection(ClassLoader loader) Create a connection to the default transactional Coherence cache service. |
Connection |
createConnection(String sServiceName) Create a connection to a Coherence cache service identified by the given service name. |
Connection |
createConnection(String sServiceName, ClassLoader loader) Create a connection to a Coherence cache service identified by the given service name. |
Constructor Detail |
---|
public DefaultConnectionFactory()
public DefaultConnectionFactory(String sConfigURI)
sConfigURI
- the configuration URIMethod Detail |
---|
public Connection createConnection()
createConnection
in interface ConnectionFactory
public Connection createConnection(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(ClassLoader loader)
createConnection
in interface ConnectionFactory
loader
- class loader which should be used to configure the connectionpublic Connection createConnection(String sServiceName, 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 which should be used to configure the connection
|
Oracle® Coherence Java API Reference Release 3.6.0.0 E15725-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |