|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ConnectionFactory
Factory for connections to the datastore. To be implemented by all StoreManagers.
| Method Summary | |
|---|---|
ManagedConnection |
createManagedConnection(ObjectManager om,
java.util.Map transactionOptions)
Create the ManagedConnection. |
ManagedConnection |
getConnection(ObjectManager om,
java.util.Map options)
Obtain a connection from the Factory. |
| Method Detail |
|---|
ManagedConnection getConnection(ObjectManager om,
java.util.Map options)
Transaction
associated to the ObjectManager om if "enlist" is set to true.
om - the ObjectManager or nulloptions - Any options for then creating the connection
ManagedConnection
ManagedConnection createManagedConnection(ObjectManager om,
java.util.Map transactionOptions)
om - ObjectManager (if any)transactionOptions - the Transaction options this connection will be enlisted to, null if non existent
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||