@Transactional @Interceptor public class AppEngineTransactionalInterceptor extends Object
AppEngineTransactionalInterceptor is a Gig interceptor component to
intercept transactional method (@Transactional annotated component
method) and to control the transaction commitment of Acid House
AppEngineDatastoreSession.| Constructor and Description |
|---|
AppEngineTransactionalInterceptor() |
@Around public Object transact(org.eiichiro.reverb.reflection.Invocation<?> invocation) throws Throwable
AppEngineDatastoreSession's transaction
commitment.
First, this method begins a transaction on
AppEngineDatastoreSession. If the transactional method
invocation is succeeded, this method commits the transaction. If the
transactional method throws any exception, this method rolls back the
transaction and re-throws the exception.invocation - The encoded method invocation of transactional method.Throwable - If transactional method throws any exception.Copyright © 2014 Eiichiro Uchiumi. All Rights Reserved.