|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
PomHandlerIfc is used to interface to a POM (Persistent Object Manager)
implementation from classes that may not be loaded by the same class
loader which loads the POM implementation.
Supported API: false
Field Summary | |
static String |
versionID
|
Method Summary | |
void |
freeConnection(Object connection)
Free a datastore connection to be available for reuse. |
Object |
getConnection()
Get an available connection to a datastore. |
Object |
getPom()
Get the POM associated with this handler. |
int |
getTotalConnections()
Get total number of connections that are currently open. |
Field Detail |
public static final String versionID
Method Detail |
public Object getPom() throws Exception
Exception
- Occurs if the handler cannot construct a persistent
object manager.public Object getConnection() throws Exception
Exception
- Occurs if the persistent object manager cannot
connect to a datastore.public void freeConnection(Object connection)
connection
- the datastore connectionpublic int getTotalConnections()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |