|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface used by the EwayConnection to request services from the ManagedConnection.
Method Summary | |
void |
addConnectionHandle(AssociateableHandle connHandle)
Adds a connection handle to the ManagedConnection instance. |
int |
getConnectionHandleCount()
Gets the current number active connection handles associated with an instance of ManagedConnection. |
EwayConnection |
getEwayConnection()
Get the EwayConnection instance associated with the ManagedConnectionCallback instance. |
javax.resource.spi.ManagedConnection |
getManagedConnection()
Get the ManagedConnection instance associated with the ManagedConnectionCallback instance. |
void |
notifyConnectionEvent(javax.resource.spi.ConnectionEvent event)
Notify the ManagedConnectionCallback associated with the EwayConnection instance that a connection event had occurred. |
void |
removeConnectionHandle(AssociateableHandle connHandle)
Removes a connection handle from the ManagedConnection instance. |
Method Detail |
public void notifyConnectionEvent(javax.resource.spi.ConnectionEvent event)
event
- A ConnectionEvent instance containing the event that had
occurred.public EwayConnection getEwayConnection()
public javax.resource.spi.ManagedConnection getManagedConnection()
public void addConnectionHandle(AssociateableHandle connHandle)
connHandle
- An connection handle which implements the
AssociateableHandle.public void removeConnectionHandle(AssociateableHandle connHandle)
connHandle
- An connection handle which implements the
AssociateableHandle.public int getConnectionHandleCount()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |