@GlobalTransactional @Interceptor public class AppEngineGlobalTransactionalInterceptor extends Object
AppEngineGlobalTransactionalInterceptor is a Gig interceptor
component to intercept transactional method (@GlobalTransactional
annotated component method) and to control the transaction commitment of Acid
House AppEngineStrongDatastoreSession.| Constructor and Description |
|---|
AppEngineGlobalTransactionalInterceptor() |
public AppEngineGlobalTransactionalInterceptor()
@Around public Object transact(org.eiichiro.reverb.reflection.Invocation<?> invocation) throws Throwable
AppEngineStrongDatastoreSession's transaction
commitment.
First, this method begins a transaction on
AppEngineStrongDatastoreSession. 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.