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

Gavin King gavin.king at jboss.com
Tue Oct 10 15:37:37 EDT 2006


  User: gavin   
  Date: 06/10/10 15:37:37

  Modified:    src/main/org/jboss/seam  Component.java
  Log:
  removed @Mutable, use Mutable interface instead
  
  Revision  Changes    Path
  1.184     +1 -14     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.183
  retrieving revision 1.184
  diff -u -b -r1.183 -r1.184
  --- Component.java	10 Oct 2006 06:43:15 -0000	1.183
  +++ Component.java	10 Oct 2006 19:37:37 -0000	1.184
  @@ -59,7 +59,6 @@
   import org.jboss.seam.annotations.IfInvalid;
   import org.jboss.seam.annotations.In;
   import org.jboss.seam.annotations.JndiName;
  -import org.jboss.seam.annotations.Mutable;
   import org.jboss.seam.annotations.Observer;
   import org.jboss.seam.annotations.Out;
   import org.jboss.seam.annotations.RequestParameter;
  @@ -111,7 +110,7 @@
    *
    * @author <a href="mailto:theute at jboss.org">Thomas Heute</a>
    * @author Gavin King
  - * @version $Revision: 1.183 $
  + * @version $Revision: 1.184 $
    */
   @Scope(ScopeType.APPLICATION)
   public class Component
  @@ -128,7 +127,6 @@
      private InterceptionType interceptionType;
      private boolean startup;
      private String[] dependencies;
  -   private boolean mutable;
      private boolean synchronize;
   
      private Method destroyMethod;
  @@ -213,12 +211,6 @@
            dependencies = getBeanClass().getAnnotation(Startup.class).depends();
         }
   
  -      mutable = beanClass.isAnnotationPresent(Mutable.class);
  -      if (mutable)
  -      {
  -         Init.instance().getMutableComponentNames().add(name);
  -      }
  -      
         synchronize = beanClass.isAnnotationPresent(Synchronized.class);
         if (synchronize && scope==STATELESS)
         {
  @@ -1767,11 +1759,6 @@
         return dependencies;
      }
   
  -   public boolean isMutable()
  -   {
  -      return mutable;
  -   }
  -
      public static interface InitialValue
      {
         Object getValue(Class type);
  
  
  



More information about the jboss-cvs-commits mailing list