|
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 |
public interface ConnectionFactory
A factory for connections to a Coherence data grid.
Nested Class Summary | |
---|---|
static interface |
ConnectionFactory.ConnectionSpec The connection spec is used to pass connection properties to connection factory during a connection request. |
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. |
Method Detail |
---|
Connection createConnection()
Connection createConnection(java.lang.String sServiceName)
sServiceName
- the name of the cache service to be associated with the connection; must be specified in a "transactional-scheme" configuration elementConnection createConnection(java.lang.ClassLoader loader)
loader
- class loader that should be used to configure the connectionConnection createConnection(java.lang.String sServiceName, java.lang.ClassLoader loader)
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 connectionConnection 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.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 |