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

Gavin King gavin.king at jboss.com
Wed May 30 20:55:40 EDT 2007


  User: gavin   
  Date: 07/05/30 20:55:40

  Modified:    src/main/org/jboss/seam/interceptors 
                        AsynchronousInterceptor.java
  Log:
  JBSEAM-395
  
  Revision  Changes    Path
  1.14      +3 -3      jboss-seam/src/main/org/jboss/seam/interceptors/AsynchronousInterceptor.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: AsynchronousInterceptor.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/interceptors/AsynchronousInterceptor.java,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -b -r1.13 -r1.14
  --- AsynchronousInterceptor.java	30 May 2007 23:23:46 -0000	1.13
  +++ AsynchronousInterceptor.java	31 May 2007 00:55:40 -0000	1.14
  @@ -5,8 +5,8 @@
   import org.jboss.seam.annotations.Asynchronous;
   import org.jboss.seam.annotations.Interceptor;
   import org.jboss.seam.contexts.Contexts;
  +import org.jboss.seam.core.AbstractDispatcher;
   import org.jboss.seam.core.Dispatcher;
  -import org.jboss.seam.core.LocalDispatcher;
   import org.jboss.seam.intercept.InvocationContext;
   
   @Interceptor(stateless=true, type=InterceptorType.CLIENT)
  @@ -18,10 +18,10 @@
      public Object aroundInvoke(InvocationContext invocation) throws Exception
      {
         boolean scheduleAsync = invocation.getMethod().isAnnotationPresent(Asynchronous.class) && 
  -            !Contexts.getEventContext().isSet(Dispatcher.EXECUTING_ASYNCHRONOUS_CALL);
  +            !Contexts.getEventContext().isSet(AbstractDispatcher.EXECUTING_ASYNCHRONOUS_CALL);
         if (scheduleAsync)
         {
  -         LocalDispatcher dispatcher = Dispatcher.instance();
  +         Dispatcher dispatcher = AbstractDispatcher.instance();
            if (dispatcher==null)
            {
               throw new IllegalStateException("org.jboss.seam.core.dispatcher is not installed in components.xml");
  
  
  



More information about the jboss-cvs-commits mailing list