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

Gavin King gavin.king at jboss.com
Sat Sep 23 11:41:39 EDT 2006


  User: gavin   
  Date: 06/09/23 11:41:39

  Modified:    src/main/org/jboss/seam/remoting  InterfaceGenerator.java
  Log:
  support @PrePassivate, @PostActivate, @PostConstruct for JavaBean components
  fix bug in replication of Seam-managed PC used by SFSB
  more efficient replication of extended Seam-managed PCs
  
  Revision  Changes    Path
  1.20      +1 -2      jboss-seam/src/main/org/jboss/seam/remoting/InterfaceGenerator.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: InterfaceGenerator.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/remoting/InterfaceGenerator.java,v
  retrieving revision 1.19
  retrieving revision 1.20
  diff -u -b -r1.19 -r1.20
  --- InterfaceGenerator.java	4 Aug 2006 00:14:49 -0000	1.19
  +++ InterfaceGenerator.java	23 Sep 2006 15:41:39 -0000	1.20
  @@ -264,8 +264,7 @@
   
       Class type = null;
   
  -    if ((component.getType().equals(ComponentType.STATEFUL_SESSION_BEAN) ||
  -        component.getType().equals(ComponentType.STATELESS_SESSION_BEAN)) &&
  +    if (component.getType().isSessionBean() &&
           component.getBusinessInterfaces().size() > 0)
       {
         for (Class c : component.getBusinessInterfaces())
  
  
  



More information about the jboss-cvs-commits mailing list