|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--org.objectweb.jonas.thds.ThreadData
This object encapsulate a ThreadLocal data that holds the list of connections open by the thread outside any transaction.
| Method Summary | |
void |
connectionClosed(org.objectweb.transaction.api.ResourceManagerEvent event)
connection closed |
void |
connectionErrorOccured(org.objectweb.transaction.api.ResourceManagerEvent event)
connection error |
void |
connectionOpened(org.objectweb.transaction.api.ResourceManagerEvent event)
connection opened |
java.util.List |
getConnectionList()
Get the connectionList for this thread |
static ThreadData |
getInstance()
Get the unique instance. |
java.util.List |
setConnectionList(java.util.List list)
Set the connectionList and return old value. |
void |
start(javax.naming.Context ctx)
Start the Service Configuration information is passed thru a Context object. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static ThreadData getInstance()
public void start(javax.naming.Context ctx)
public void connectionOpened(org.objectweb.transaction.api.ResourceManagerEvent event)
connectionOpened in interface org.objectweb.transaction.api.ResourceManagerEventListenerpublic void connectionClosed(org.objectweb.transaction.api.ResourceManagerEvent event)
connectionClosed in interface org.objectweb.transaction.api.ResourceManagerEventListenerpublic void connectionErrorOccured(org.objectweb.transaction.api.ResourceManagerEvent event)
connectionErrorOccured in interface org.objectweb.transaction.api.ResourceManagerEventListenerpublic java.util.List setConnectionList(java.util.List list)
public java.util.List getConnectionList()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||