|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.rhq.enterprise.server.common.TransactionInterruptInterceptor
public class TransactionInterruptInterceptor
This EJB3 interceptor's job is to install a new JBossTM CheckedAction on the request thread's current transaction. The reason for this is technical, but in short, this allows SLSB methods to be notified when a transaction has timed out so the SLSB can abort what it is doing if it deems appropriate. The current thread's transaction will get a new CheckedAction that will simply interrupt all threads that are currently associated with it.
| Nested Class Summary | |
|---|---|
class |
TransactionInterruptInterceptor.TransactionInterruptCheckedAction
|
| Constructor Summary | |
|---|---|
TransactionInterruptInterceptor()
|
|
| Method Summary | |
|---|---|
java.lang.Object |
addCheckedActionToTransactionManager(javax.interceptor.InvocationContext invocation_context)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TransactionInterruptInterceptor()
| Method Detail |
|---|
public java.lang.Object addCheckedActionToTransactionManager(javax.interceptor.InvocationContext invocation_context)
throws java.lang.Exception
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||