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

Gavin King gavin.king at jboss.com
Tue Oct 31 20:52:09 EST 2006


  User: gavin   
  Date: 06/10/31 20:52:09

  Modified:    src/main/org/jboss/seam/framework   
                        EntityNotFoundException.java Home.java Query.java
  Log:
  insulate core from EJB dependencies JBSEAM-414
  
  Revision  Changes    Path
  1.3       +1 -1      jboss-seam/src/main/org/jboss/seam/framework/EntityNotFoundException.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: EntityNotFoundException.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/framework/EntityNotFoundException.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -b -r1.2 -r1.3
  
  
  
  1.8       +2 -3      jboss-seam/src/main/org/jboss/seam/framework/Home.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: Home.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/framework/Home.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -b -r1.7 -r1.8
  --- Home.java	31 Oct 2006 04:38:38 -0000	1.7
  +++ Home.java	1 Nov 2006 01:52:09 -0000	1.8
  @@ -6,9 +6,8 @@
   import java.lang.reflect.ParameterizedType;
   import java.lang.reflect.Type;
   
  -import javax.annotation.PostConstruct;
  -
   import org.jboss.seam.ScopeType;
  +import org.jboss.seam.annotations.Create;
   import org.jboss.seam.annotations.In;
   import org.jboss.seam.annotations.Scope;
   import org.jboss.seam.annotations.Transactional;
  @@ -52,7 +51,7 @@
         facesMessages.addFromResourceBundle( SEVERITY_INFO, getCreatedMessageKey(), getCreatedMessage() );
      }
   
  -   @PostConstruct
  +   @Create
      public void validate()
      {
         if ( getEntityClass()==null )
  
  
  
  1.9       +2 -2      jboss-seam/src/main/org/jboss/seam/framework/Query.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: Query.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/framework/Query.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -b -r1.8 -r1.9
  --- Query.java	13 Oct 2006 23:25:58 -0000	1.8
  +++ Query.java	1 Nov 2006 01:52:09 -0000	1.9
  @@ -4,9 +4,9 @@
   import java.util.List;
   import java.util.StringTokenizer;
   
  -import javax.annotation.PostConstruct;
   import javax.faces.model.DataModel;
   
  +import org.jboss.seam.annotations.Create;
   import org.jboss.seam.annotations.Transactional;
   import org.jboss.seam.core.Expressions;
   import org.jboss.seam.core.Expressions.ValueBinding;
  @@ -31,7 +31,7 @@
      public abstract Object getSingleResult();
      public abstract Long getResultCount();
   
  -   @PostConstruct
  +   @Create
      public void validate()
      {
         if ( getEjbql()==null )
  
  
  



More information about the jboss-cvs-commits mailing list