diff --git a/impl/core/src/main/java/br/gov/frameworkdemoiselle/transaction/TransactionalInterceptor.java b/impl/core/src/main/java/br/gov/frameworkdemoiselle/transaction/TransactionalInterceptor.java index 0cc0a57..3d0a8f2 100644 --- a/impl/core/src/main/java/br/gov/frameworkdemoiselle/transaction/TransactionalInterceptor.java +++ b/impl/core/src/main/java/br/gov/frameworkdemoiselle/transaction/TransactionalInterceptor.java @@ -96,6 +96,17 @@ public class TransactionalInterceptor implements Serializable { return this.transactionInfo; } + /** + *

Manages methods annotated with {@link Transactional}. If there's no active transaction + * the moment a {@link Transactional} method is called, this interceptor will activate one. If a {@link Transactional} method + * that activated a transaction returns, this method will commit the active transaction. If the {@link Transactional} method + * throws an exception caught outside of the method (or uncaught), this interceptor will mark the transaction for rollback.

+ * + *

+ * This method is not intended to be called directly, instead the CDI provider will call this method when a {@link Transactional} method + * is called. + *

+ */ @AroundInvoke public Object manage(final InvocationContext ic) throws Exception { initiate(); -- libgit2 0.21.2