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

Gavin King gavin.king at jboss.com
Sat Dec 16 09:06:57 EST 2006


  User: gavin   
  Date: 06/12/16 09:06:57

  Modified:    src/main/org/jboss/seam/annotations  Observer.java
  Log:
  better handling of empty string
  JBSEAM-570, @Observer(create=false)
  
  Revision  Changes    Path
  1.4       +9 -0      jboss-seam/src/main/org/jboss/seam/annotations/Observer.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: Observer.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/annotations/Observer.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -b -r1.3 -r1.4
  --- Observer.java	8 May 2006 20:00:39 -0000	1.3
  +++ Observer.java	16 Dec 2006 14:06:57 -0000	1.4
  @@ -22,4 +22,13 @@
       * @return the event type or types to observe
       */
      String[] value() default {};
  +   /**
  +    * In case no component instance exists,
  +    * should a component instance be created to
  +    * handle the event, or should the event be
  +    * ignored.
  +    * 
  +    * @return true by default
  +    */
  +   boolean create() default true;
   }
  
  
  



More information about the jboss-cvs-commits mailing list