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

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/intercept  RootInterceptor.java
  Log:
  quick workaround for JBSEAM-401
  workaround a bug in EJB3
  
  Revision  Changes    Path
  1.2       +3 -3      jboss-seam/src/main/org/jboss/seam/intercept/RootInterceptor.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: RootInterceptor.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/intercept/RootInterceptor.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -b -r1.1 -r1.2
  --- RootInterceptor.java	10 Oct 2006 06:43:16 -0000	1.1
  +++ RootInterceptor.java	11 Oct 2006 01:22:15 -0000	1.2
  @@ -159,7 +159,7 @@
   
      private Object invokeInContexts(InvocationContext invocation, EventType eventType) throws Exception
      {
  -      if ( isProcessInterceptors(getComponent()) )
  +      if ( isProcessInterceptors() )
         {
            if ( log.isTraceEnabled() ) 
            {
  @@ -176,9 +176,9 @@
         }
      }
   
  -   private boolean isProcessInterceptors(final Component component)
  +   private boolean isProcessInterceptors()
      {
  -      return component!=null && component.getInterceptionType().isActive();
  +      return isSeamComponent && getComponent().getInterceptionType().isActive();
      }
      
      protected Component getComponent()
  
  
  



More information about the jboss-cvs-commits mailing list