You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jcs-dev@jakarta.apache.org by hc...@apache.org on 2005/02/03 13:08:34 UTC

cvs commit: jakarta-turbine-jcs/sandbox/yajcache/src/org/apache/jcs/yajcache/lang/annotation JavaBean.java

hchar       2005/02/03 04:08:34

  Modified:    sandbox/yajcache/src/org/apache/jcs/yajcache/lang/annotation
                        JavaBean.java
  Log:
  javadoc + annotate
  
  Revision  Changes    Path
  1.4       +13 -0     jakarta-turbine-jcs/sandbox/yajcache/src/org/apache/jcs/yajcache/lang/annotation/JavaBean.java
  
  Index: JavaBean.java
  ===================================================================
  RCS file: /home/cvs/jakarta-turbine-jcs/sandbox/yajcache/src/org/apache/jcs/yajcache/lang/annotation/JavaBean.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- JavaBean.java	2 Feb 2005 11:41:53 -0000	1.3
  +++ JavaBean.java	3 Feb 2005 12:08:34 -0000	1.4
  @@ -15,10 +15,23 @@
    */
   package org.apache.jcs.yajcache.lang.annotation;
   
  +import java.lang.annotation.*;
  +
   /**
  + * Element so annotated is expected to be a JavaBean.
    *
    * @author Hanson Char
    */
   @CopyRightApache
  +@Documented
  +@Inherited
  +@Retention(RetentionPolicy.SOURCE)
  +@Target({
  +    ElementType.TYPE,           // return value of a method is a 
  +    ElementType.METHOD,           // return value of a method is a 
  +    ElementType.FIELD,          // field is never null
  +    ElementType.LOCAL_VARIABLE, // variable is never null
  +    ElementType.PARAMETER       // parameter is never null
  +})
   public @interface JavaBean {
   }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-jcs-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-jcs-dev-help@jakarta.apache.org