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

Gavin King gavin.king at jboss.com
Tue Oct 10 21:22:15 EDT 2006


  User: gavin   
  Date: 06/10/10 21:22:15

  Modified:    src/main/org/jboss/seam/core  Dispatcher.java
  Log:
  quick workaround for JBSEAM-401
  workaround a bug in EJB3
  
  Revision  Changes    Path
  1.5       +6 -2      jboss-seam/src/main/org/jboss/seam/core/Dispatcher.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: Dispatcher.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/core/Dispatcher.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -b -r1.4 -r1.5
  --- Dispatcher.java	10 Oct 2006 06:43:16 -0000	1.4
  +++ Dispatcher.java	11 Oct 2006 01:22:15 -0000	1.5
  @@ -5,6 +5,7 @@
   import java.lang.reflect.Method;
   import java.util.Date;
   
  +import javax.annotation.PostConstruct;
   import javax.annotation.Resource;
   import javax.ejb.Stateless;
   import javax.ejb.Timeout;
  @@ -20,7 +21,7 @@
   import org.jboss.seam.annotations.timer.IntervalDuration;
   import org.jboss.seam.contexts.Contexts;
   import org.jboss.seam.contexts.Lifecycle;
  -import org.jboss.seam.intercept.RootInterceptor;
  +import org.jboss.seam.ejb.SeamInterceptor;
   import org.jboss.seam.util.Reflections;
   
   /**
  @@ -31,7 +32,7 @@
    */
   @Stateless
   @Name("org.jboss.seam.core.dispatcher")
  - at Interceptors(RootInterceptor.class)
  + at Interceptors(SeamInterceptor.class)
   public class Dispatcher implements LocalDispatcher
   {
      
  @@ -144,6 +145,9 @@
         
      }
      
  +   @PostConstruct 
  +   public void postConstruct() {} //workaround for a bug in EJB3
  +   
      @Timeout
      public void dispatch(Timer timer)
      {
  
  
  



More information about the jboss-cvs-commits mailing list