[jboss-cvs] jboss-seam/src/main/org/jboss/seam/transaction ...
Gavin King
gavin.king at jboss.com
Wed Jun 20 13:45:58 EDT 2007
User: gavin
Date: 07/06/20 13:45:58
Modified: src/main/org/jboss/seam/transaction Transaction.java
Log:
refactored interception annotations
Revision Changes Path
1.7 +2 -3 jboss-seam/src/main/org/jboss/seam/transaction/Transaction.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: Transaction.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/transaction/Transaction.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- Transaction.java 13 Jun 2007 15:21:08 -0000 1.6
+++ Transaction.java 20 Jun 2007 17:45:58 -0000 1.7
@@ -6,13 +6,12 @@
import javax.naming.NamingException;
import org.jboss.seam.Component;
-import org.jboss.seam.InterceptionType;
import org.jboss.seam.ScopeType;
import org.jboss.seam.annotations.Install;
-import org.jboss.seam.annotations.Intercept;
import org.jboss.seam.annotations.Name;
import org.jboss.seam.annotations.Scope;
import org.jboss.seam.annotations.Unwrap;
+import org.jboss.seam.annotations.intercept.BypassInterceptors;
import org.jboss.seam.util.EJB;
import org.jboss.seam.util.Naming;
@@ -27,7 +26,7 @@
@Name("org.jboss.seam.transaction.transaction")
@Scope(ScopeType.STATELESS)
@Install(precedence=BUILT_IN)
- at Intercept(InterceptionType.NEVER)
+ at BypassInterceptors
public class Transaction
{
More information about the jboss-cvs-commits
mailing list