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

Gavin King gavin.king at jboss.com
Fri Jun 8 03:08:26 EDT 2007


  User: gavin   
  Date: 07/06/08 03:08:26

  Modified:    src/main/org/jboss/seam/annotations    Create.java
                        Destroy.java Unwrap.java
  Log:
  better semantics for @Create/@Destroy/@Unwrap with inheritance
  
  Revision  Changes    Path
  1.3       +3 -1      jboss-seam/src/main/org/jboss/seam/annotations/Create.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: Create.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/annotations/Create.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -b -r1.2 -r1.3
  --- Create.java	17 Aug 2005 06:24:26 -0000	1.2
  +++ Create.java	8 Jun 2007 07:08:26 -0000	1.3
  @@ -1,10 +1,11 @@
  -//$Id: Create.java,v 1.2 2005/08/17 06:24:26 gavin Exp $
  +//$Id: Create.java,v 1.3 2007/06/08 07:08:26 gavin Exp $
   package org.jboss.seam.annotations;
   
   import static java.lang.annotation.ElementType.METHOD;
   import static java.lang.annotation.RetentionPolicy.RUNTIME;
   
   import java.lang.annotation.Documented;
  +import java.lang.annotation.Inherited;
   import java.lang.annotation.Retention;
   import java.lang.annotation.Target;
   
  @@ -17,4 +18,5 @@
   @Target(METHOD)
   @Retention(RUNTIME)
   @Documented
  + at Inherited
   public @interface Create {}
  
  
  
  1.4       +3 -1      jboss-seam/src/main/org/jboss/seam/annotations/Destroy.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: Destroy.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/annotations/Destroy.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -b -r1.3 -r1.4
  --- Destroy.java	22 Aug 2005 00:06:22 -0000	1.3
  +++ Destroy.java	8 Jun 2007 07:08:26 -0000	1.4
  @@ -1,10 +1,11 @@
  -//$Id: Destroy.java,v 1.3 2005/08/22 00:06:22 gavin Exp $
  +//$Id: Destroy.java,v 1.4 2007/06/08 07:08:26 gavin Exp $
   package org.jboss.seam.annotations;
   
   import static java.lang.annotation.ElementType.METHOD;
   import static java.lang.annotation.RetentionPolicy.RUNTIME;
   
   import java.lang.annotation.Documented;
  +import java.lang.annotation.Inherited;
   import java.lang.annotation.Retention;
   import java.lang.annotation.Target;
   
  @@ -17,4 +18,5 @@
   @Target(METHOD)
   @Retention(RUNTIME)
   @Documented
  + at Inherited
   public @interface Destroy {}
  
  
  
  1.4       +3 -1      jboss-seam/src/main/org/jboss/seam/annotations/Unwrap.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: Unwrap.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/annotations/Unwrap.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -b -r1.3 -r1.4
  --- Unwrap.java	30 Dec 2005 00:30:06 -0000	1.3
  +++ Unwrap.java	8 Jun 2007 07:08:26 -0000	1.4
  @@ -1,10 +1,11 @@
  -//$Id: Unwrap.java,v 1.3 2005/12/30 00:30:06 gavin Exp $
  +//$Id: Unwrap.java,v 1.4 2007/06/08 07:08:26 gavin Exp $
   package org.jboss.seam.annotations;
   
   import static java.lang.annotation.ElementType.METHOD;
   import static java.lang.annotation.RetentionPolicy.RUNTIME;
   
   import java.lang.annotation.Documented;
  +import java.lang.annotation.Inherited;
   import java.lang.annotation.Retention;
   import java.lang.annotation.Target;
   
  @@ -19,6 +20,7 @@
   @Target(METHOD)
   @Retention(RUNTIME)
   @Documented
  + at Inherited
   public @interface Unwrap
   {
   
  
  
  



More information about the jboss-cvs-commits mailing list