|
JAC project AOPSYS CEDRIC & LIP6 labs |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.objectweb.jac.core.Wrapper | +--org.objectweb.jac.aspects.transaction.TransactionAC.TransactionWrapper
This wrapper defines the transaction wrapper.
It defines a wrapping method that starts a transaction when a
method is called and that commits it when the method returns
normally.
Within the transaction, the cloning and the dispatching is
ensured by an external
DispatchTransactionWrapper
.
DispatchTransactionWrapper
,
Serialized Form
Field Summary
Fields inherited from class org.objectweb.jac.core.Wrapper
ac
Constructor Summary
TransactionAC.TransactionWrapper(AspectComponent ac)
Method Summary
void
beginOfTransaction(Interaction interaction)
Initializes the transaction.
void
catchException(Interaction interaction,
Exception e)
Handles an exception within a transaction (rollback).
void
endOfTransaction(Interaction interaction)
Ends the transaction (when success).
Object
handleTransaction(Interaction interaction)
This wrapping method wraps a transactional method.
Methods inherited from class org.objectweb.jac.core.Wrapper
attr, attrdef, defines, getAspectComponent, getAspectComponentName, getExceptionHandlers, proceed, setAspectComponent, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Constructor Detail
TransactionAC.TransactionWrapper
public TransactionAC.TransactionWrapper(AspectComponent ac)
Method Detail
handleTransaction
public Object handleTransaction(Interaction interaction)
beginOfTransaction
public void beginOfTransaction(Interaction interaction)
endOfTransaction
public void endOfTransaction(Interaction interaction)
catchException
public void catchException(Interaction interaction,
Exception e)
throws Exception
Overview
Package
Class
Tree
Deprecated
Index
Help
Contact JAC development team:
Renaud Pawlak
Lionel Seinturier
Laurent Martelli
PREV CLASS
NEXT CLASS
FRAMES
NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD
DETAIL: FIELD | CONSTR | METHOD