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

Gavin King gavin.king at jboss.com
Sun Feb 25 18:03:04 EST 2007


  User: gavin   
  Date: 07/02/25 18:03:04

  Modified:    src/main/org/jboss/seam/intercept 
                        SessionBeanInterceptor.java
  Log:
  if its not a seam component, don't do anything
  
  Revision  Changes    Path
  1.13      +6 -3      jboss-seam/src/main/org/jboss/seam/intercept/SessionBeanInterceptor.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: SessionBeanInterceptor.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/intercept/SessionBeanInterceptor.java,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -b -r1.12 -r1.13
  --- SessionBeanInterceptor.java	25 Feb 2007 19:06:23 -0000	1.12
  +++ SessionBeanInterceptor.java	25 Feb 2007 23:03:04 -0000	1.13
  @@ -113,11 +113,14 @@
            initNonSeamComponent();
         }
         
  +      if ( invokingComponent!=null )
  +      {
         //wrap any @PersistenceContext attributes in our proxy
         for ( BijectedAttribute ba: invokingComponent.getPersistenceContextAttributes() )
         {
            ba.set( bean, new EntityManagerProxy( (EntityManager) ba.get(bean) ) );
         }
  +      }
         
         postConstruct(bean);
         invokeAndHandle( new EJBInvocationContext(invocation), EventType.POST_CONSTRUCT );
  
  
  



More information about the jboss-cvs-commits mailing list