[jboss-cvs] jboss-seam/src/main/org/jboss/seam/bpm ...

Gavin King gavin.king at jboss.com
Wed Jun 20 13:45:54 EDT 2007


  User: gavin   
  Date: 07/06/20 13:45:54

  Modified:    src/main/org/jboss/seam/bpm        Actor.java
                        BusinessProcess.java Jbpm.java
                        ManagedJbpmContext.java ProcessInstance.java
                        TaskInstance.java Transition.java
  Log:
  refactored interception annotations
  
  Revision  Changes    Path
  1.3       +6 -3      jboss-seam/src/main/org/jboss/seam/bpm/Actor.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: Actor.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/bpm/Actor.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -b -r1.2 -r1.3
  --- Actor.java	19 Jun 2007 20:08:12 -0000	1.2
  +++ Actor.java	20 Jun 2007 17:45:54 -0000	1.3
  @@ -1,17 +1,20 @@
   package org.jboss.seam.bpm;
  -import static org.jboss.seam.InterceptionType.NEVER;
  +
   import static org.jboss.seam.annotations.Install.BUILT_IN;
  +
   import java.io.Serializable;
   import java.util.HashSet;
   import java.util.Set;
  +
   import org.jboss.seam.Component;
   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.intercept.BypassInterceptors;
   import org.jboss.seam.contexts.Contexts;
   import org.jboss.seam.core.AbstractMutable;
  +
   /**
    * Allows the application to specify the jBPM actorId
    * during the login cycle.
  @@ -20,7 +23,7 @@
    */
   @Name("org.jboss.seam.bpm.actor")
   @Scope(ScopeType.SESSION)
  - at Intercept(NEVER)
  + at BypassInterceptors
   @Install(dependencies="org.jboss.seam.bpm.jbpm", precedence=BUILT_IN)
   public class Actor extends AbstractMutable implements Serializable
   {
  
  
  
  1.3       +2 -3      jboss-seam/src/main/org/jboss/seam/bpm/BusinessProcess.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: BusinessProcess.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/bpm/BusinessProcess.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -b -r1.2 -r1.3
  --- BusinessProcess.java	19 Jun 2007 20:08:12 -0000	1.2
  +++ BusinessProcess.java	20 Jun 2007 17:45:54 -0000	1.3
  @@ -1,6 +1,5 @@
   package org.jboss.seam.bpm;
   
  -import static org.jboss.seam.InterceptionType.NEVER;
   import static org.jboss.seam.annotations.Install.BUILT_IN;
   
   import java.io.Serializable;
  @@ -8,9 +7,9 @@
   import org.jboss.seam.Component;
   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.intercept.BypassInterceptors;
   import org.jboss.seam.contexts.Contexts;
   import org.jboss.seam.core.AbstractMutable;
   import org.jboss.seam.core.Events;
  @@ -27,7 +26,7 @@
    */
   @Scope(ScopeType.CONVERSATION)
   @Name("org.jboss.seam.bpm.businessProcess")
  - at Intercept(NEVER)
  + at BypassInterceptors
   @Install(dependencies="org.jboss.seam.bpm.jbpm", precedence=BUILT_IN)
   public class BusinessProcess extends AbstractMutable implements Serializable 
   {
  
  
  
  1.5       +2 -3      jboss-seam/src/main/org/jboss/seam/bpm/Jbpm.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: Jbpm.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/bpm/Jbpm.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -b -r1.4 -r1.5
  --- Jbpm.java	20 Jun 2007 09:07:58 -0000	1.4
  +++ Jbpm.java	20 Jun 2007 17:45:54 -0000	1.5
  @@ -1,6 +1,5 @@
   package org.jboss.seam.bpm;
   
  -import static org.jboss.seam.InterceptionType.NEVER;
   import static org.jboss.seam.annotations.Install.BUILT_IN;
   
   import java.io.InputStream;
  @@ -20,10 +19,10 @@
   import org.jboss.seam.annotations.Create;
   import org.jboss.seam.annotations.Destroy;
   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.Startup;
  +import org.jboss.seam.annotations.intercept.BypassInterceptors;
   import org.jboss.seam.contexts.Contexts;
   import org.jboss.seam.core.Init;
   import org.jboss.seam.log.LogProvider;
  @@ -50,7 +49,7 @@
    * @author <a href="mailto:theute at jboss.org">Thomas Heute</a>
    */
   @Scope(ScopeType.APPLICATION)
  - at Intercept(NEVER)
  + at BypassInterceptors
   @Startup
   @Name("org.jboss.seam.bpm.jbpm")
   @Install(value=false, precedence=BUILT_IN)
  
  
  
  1.4       +2 -3      jboss-seam/src/main/org/jboss/seam/bpm/ManagedJbpmContext.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: ManagedJbpmContext.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/bpm/ManagedJbpmContext.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -b -r1.3 -r1.4
  --- ManagedJbpmContext.java	19 Jun 2007 20:31:31 -0000	1.3
  +++ ManagedJbpmContext.java	20 Jun 2007 17:45:54 -0000	1.4
  @@ -6,7 +6,6 @@
    */
   package org.jboss.seam.bpm;
   
  -import static org.jboss.seam.InterceptionType.NEVER;
   import static org.jboss.seam.annotations.Install.BUILT_IN;
   
   import javax.naming.NamingException;
  @@ -19,10 +18,10 @@
   import org.jboss.seam.annotations.Create;
   import org.jboss.seam.annotations.Destroy;
   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.async.LocalTransactionListener;
   import org.jboss.seam.contexts.Contexts;
   import org.jboss.seam.contexts.Lifecycle;
  @@ -42,7 +41,7 @@
    */
   @Scope(ScopeType.EVENT)
   @Name("org.jboss.seam.bpm.jbpmContext")
  - at Intercept(NEVER)
  + at BypassInterceptors
   @Install(precedence=BUILT_IN, dependencies="org.jboss.seam.bpm.jbpm")
   public class ManagedJbpmContext implements Synchronization
   {
  
  
  
  1.4       +2 -3      jboss-seam/src/main/org/jboss/seam/bpm/ProcessInstance.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: ProcessInstance.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/bpm/ProcessInstance.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -b -r1.3 -r1.4
  --- ProcessInstance.java	19 Jun 2007 20:31:31 -0000	1.3
  +++ ProcessInstance.java	20 Jun 2007 17:45:54 -0000	1.4
  @@ -9,13 +9,12 @@
   import static org.jboss.seam.annotations.Install.BUILT_IN;
   
   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.contexts.Contexts;
   import org.jboss.seam.util.Work;
   
  @@ -27,7 +26,7 @@
    */
   @Scope(ScopeType.STATELESS)
   @Name("org.jboss.seam.bpm.processInstance")
  - at Intercept(InterceptionType.NEVER)
  + at BypassInterceptors
   @Install(precedence=BUILT_IN, dependencies="org.jboss.seam.bpm.jbpm")
   public class ProcessInstance 
   {
  
  
  
  1.4       +2 -3      jboss-seam/src/main/org/jboss/seam/bpm/TaskInstance.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: TaskInstance.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/bpm/TaskInstance.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -b -r1.3 -r1.4
  --- TaskInstance.java	19 Jun 2007 20:31:31 -0000	1.3
  +++ TaskInstance.java	20 Jun 2007 17:45:54 -0000	1.4
  @@ -9,13 +9,12 @@
   import static org.jboss.seam.annotations.Install.BUILT_IN;
   
   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.contexts.Contexts;
   import org.jboss.seam.util.Work;
   
  @@ -27,7 +26,7 @@
    */
   @Scope(ScopeType.STATELESS)
   @Name("org.jboss.seam.bpm.taskInstance")
  - at Intercept(InterceptionType.NEVER)
  + at BypassInterceptors
   @Install(precedence=BUILT_IN, dependencies="org.jboss.seam.bpm.jbpm")
   public class TaskInstance 
   {
  
  
  
  1.4       +2 -3      jboss-seam/src/main/org/jboss/seam/bpm/Transition.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: Transition.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/bpm/Transition.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -b -r1.3 -r1.4
  --- Transition.java	19 Jun 2007 20:31:31 -0000	1.3
  +++ Transition.java	20 Jun 2007 17:45:54 -0000	1.4
  @@ -1,6 +1,5 @@
   package org.jboss.seam.bpm;
   
  -import static org.jboss.seam.InterceptionType.NEVER;
   import static org.jboss.seam.annotations.Install.BUILT_IN;
   
   import java.io.Serializable;
  @@ -8,9 +7,9 @@
   import org.jboss.seam.Component;
   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.intercept.BypassInterceptors;
   import org.jboss.seam.contexts.Contexts;
   import org.jboss.seam.core.AbstractMutable;
   
  @@ -22,7 +21,7 @@
    */
   @Name("org.jboss.seam.bpm.transition")
   @Scope(ScopeType.CONVERSATION)
  - at Intercept(NEVER)
  + at BypassInterceptors
   @Install(precedence=BUILT_IN, dependencies="org.jboss.seam.bpm.jbpm")
   public class Transition extends AbstractMutable implements Serializable 
   {
  
  
  



More information about the jboss-cvs-commits mailing list