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

Gavin King gavin.king at jboss.com
Mon Jun 25 12:49:38 EDT 2007


  User: gavin   
  Date: 07/06/25 12:49:38

  Modified:    src/main/org/jboss/seam  Component.java
  Log:
  its 2.0, so I can remove stuff I hate :)
  
  Revision  Changes    Path
  1.264     +0 -16     jboss-seam/src/main/org/jboss/seam/Component.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: Component.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/Component.java,v
  retrieving revision 1.263
  retrieving revision 1.264
  diff -u -b -r1.263 -r1.264
  --- Component.java	24 Jun 2007 06:41:48 -0000	1.263
  +++ Component.java	25 Jun 2007 16:49:38 -0000	1.264
  @@ -64,7 +64,6 @@
   import org.jboss.seam.annotations.Destroy;
   import org.jboss.seam.annotations.End;
   import org.jboss.seam.annotations.EndTask;
  -import org.jboss.seam.annotations.IfInvalid;
   import org.jboss.seam.annotations.In;
   import org.jboss.seam.annotations.JndiName;
   import org.jboss.seam.annotations.Observer;
  @@ -111,7 +110,6 @@
   import org.jboss.seam.interceptors.SecurityInterceptor;
   import org.jboss.seam.interceptors.SynchronizationInterceptor;
   import org.jboss.seam.interceptors.TransactionInterceptor;
  -import org.jboss.seam.interceptors.ValidationInterceptor;
   import org.jboss.seam.log.LogProvider;
   import org.jboss.seam.log.Logging;
   import org.jboss.seam.util.Conversions;
  @@ -165,7 +163,6 @@
      private Method postActivateMethod;
      
      private Map<String, Method> removeMethods = new HashMap<String, Method>();
  -   private Set<Method> validateMethods = new HashSet<Method>();
      private Set<Method> lifecycleMethods = new HashSet<Method>();
      private Set<Method> conversationManagementMethods = new HashSet<Method>();
      
  @@ -541,10 +538,6 @@
   
      private void scanMethod(Context applicationContext, Map<Method, Annotation> selectionSetters, Set<String> dataModelNames, Method method)
      {
  -      if ( method.isAnnotationPresent(IfInvalid.class) )
  -      {
  -         validateMethods.add(method);
  -      }
         if ( method.isAnnotationPresent(REMOVE) )
         {
            removeMethods.put( method.getName(), method );
  @@ -934,10 +927,6 @@
         {
            addInterceptor( new Interceptor( new BijectionInterceptor(), this ) );
         }
  -      if ( beanClassHasAnnotation(IfInvalid.class) )
  -      {
  -         addInterceptor( new Interceptor( new ValidationInterceptor(), this ) );
  -      }
         addInterceptor( new Interceptor( new RollbackInterceptor(), this ) );
         if ( getType()==JAVA_BEAN && beanClassHasAnnotation(Transactional.class))
         {
  @@ -1088,11 +1077,6 @@
         return removeMethods.get(name);
      }
   
  -   public Set<Method> getValidateMethods()
  -   {
  -      return validateMethods;
  -   }
  -
      public boolean hasPreDestroyMethod()
      {
         return preDestroyMethod!=null;
  
  
  



More information about the jboss-cvs-commits mailing list