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

Gavin King gavin.king at jboss.com
Fri Feb 16 11:49:03 EST 2007


  User: gavin   
  Date: 07/02/16 11:49:03

  Modified:    src/main/org/jboss/seam/annotations               
                        Begin.java Conversational.java In.java Install.java
                        Interceptors.java JndiName.java Name.java
                        Namespace.java Out.java RaiseEvent.java
                        RequestParameter.java Role.java Roles.java
                        Synchronized.java WebRemote.java
  Log:
  add @Inherited where appropriate
  
  Revision  Changes    Path
  1.10      +3 -2      jboss-seam/src/main/org/jboss/seam/annotations/Begin.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: Begin.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/annotations/Begin.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -b -r1.9 -r1.10
  --- Begin.java	20 Oct 2006 00:35:34 -0000	1.9
  +++ Begin.java	16 Feb 2007 16:49:03 -0000	1.10
  @@ -1,4 +1,4 @@
  -//$Id: Begin.java,v 1.9 2006/10/20 00:35:34 gavin Exp $
  +//$Id: Begin.java,v 1.10 2007/02/16 16:49:03 gavin Exp $
   package org.jboss.seam.annotations;
   
   import static java.lang.annotation.ElementType.METHOD;
  @@ -22,7 +22,8 @@
   @Target(METHOD)
   @Retention(RUNTIME)
   @Documented
  -public @interface Begin {
  +public @interface Begin 
  +{
   	/**
   	 * An empty outcome list is interpreted to mean any 
   	 * outcome except for the null (redisplay) outcome.
  
  
  
  1.9       +3 -1      jboss-seam/src/main/org/jboss/seam/annotations/Conversational.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: Conversational.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/annotations/Conversational.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -b -r1.8 -r1.9
  --- Conversational.java	30 Jun 2006 22:50:07 -0000	1.8
  +++ Conversational.java	16 Feb 2007 16:49:03 -0000	1.9
  @@ -1,4 +1,4 @@
  -//$Id: Conversational.java,v 1.8 2006/06/30 22:50:07 gavin Exp $
  +//$Id: Conversational.java,v 1.9 2007/02/16 16:49:03 gavin Exp $
   package org.jboss.seam.annotations;
   
   import static java.lang.annotation.ElementType.TYPE;
  @@ -6,6 +6,7 @@
   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({TYPE, METHOD})
   @Retention(RUNTIME)
   @Documented
  + at Inherited
   public @interface Conversational
   {
      /**
  
  
  
  1.10      +2 -1      jboss-seam/src/main/org/jboss/seam/annotations/In.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: In.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/annotations/In.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -b -r1.9 -r1.10
  --- In.java	30 Jun 2006 09:39:22 -0000	1.9
  +++ In.java	16 Feb 2007 16:49:03 -0000	1.10
  @@ -25,7 +25,8 @@
   @Target({FIELD, METHOD/*, PARAMETER*/})
   @Retention(RUNTIME)
   @Documented
  -public @interface In {
  +public @interface In 
  +{
      /**
       * The context variable name. Defaults to the name of 
       * the annotated field or getter method.
  
  
  
  1.6       +2 -1      jboss-seam/src/main/org/jboss/seam/annotations/Install.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: Install.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/annotations/Install.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -b -r1.5 -r1.6
  --- Install.java	18 Jan 2007 19:16:25 -0000	1.5
  +++ Install.java	16 Feb 2007 16:49:03 -0000	1.6
  @@ -15,7 +15,8 @@
   @Target(ElementType.TYPE)
   @Retention(RetentionPolicy.RUNTIME)
   @Documented
  -public @interface Install {
  +public @interface Install 
  +{
      /**
       * Precedence of all built-in Seam components
       */
  
  
  
  1.2       +3 -2      jboss-seam/src/main/org/jboss/seam/annotations/Interceptors.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: Interceptors.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/annotations/Interceptors.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -b -r1.1 -r1.2
  --- Interceptors.java	8 Nov 2006 23:25:06 -0000	1.1
  +++ Interceptors.java	16 Feb 2007 16:49:03 -0000	1.2
  @@ -1,4 +1,4 @@
  -//$Id: Interceptors.java,v 1.1 2006/11/08 23:25:06 gavin Exp $
  +//$Id: Interceptors.java,v 1.2 2007/02/16 16:49:03 gavin Exp $
   package org.jboss.seam.annotations;
   
   import static java.lang.annotation.ElementType.ANNOTATION_TYPE;
  @@ -18,6 +18,7 @@
   @Target(ANNOTATION_TYPE)
   @Retention(RUNTIME)
   @Documented
  -public @interface Interceptors {
  +public @interface Interceptors 
  +{
      Class[] value();
   }
  
  
  
  1.2       +2 -1      jboss-seam/src/main/org/jboss/seam/annotations/JndiName.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: JndiName.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/annotations/JndiName.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -b -r1.1 -r1.2
  --- JndiName.java	22 Aug 2005 01:29:28 -0000	1.1
  +++ JndiName.java	16 Feb 2007 16:49:03 -0000	1.2
  @@ -19,7 +19,8 @@
    */
   @Target(TYPE)
   @Retention(RUNTIME)
  -public @interface JndiName {
  +public @interface JndiName 
  +{
      String value();
   }
   
  
  
  
  1.7       +3 -2      jboss-seam/src/main/org/jboss/seam/annotations/Name.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: Name.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/annotations/Name.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -b -r1.6 -r1.7
  --- Name.java	24 Apr 2006 03:49:02 -0000	1.6
  +++ Name.java	16 Feb 2007 16:49:03 -0000	1.7
  @@ -17,12 +17,13 @@
    * Specifies the component name of a seam component.
    * 
    * @author <a href="mailto:theute at jboss.org">Thomas Heute</a>
  - * @version $Revision: 1.6 $
  + * @version $Revision: 1.7 $
    */
   @Target(TYPE)
   @Retention(RUNTIME)
   @Documented
  -public @interface Name {
  +public @interface Name 
  +{
      /**
       * @return the component name
       */
  
  
  
  1.2       +2 -1      jboss-seam/src/main/org/jboss/seam/annotations/Namespace.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: Namespace.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/annotations/Namespace.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -b -r1.1 -r1.2
  --- Namespace.java	15 Nov 2006 06:12:28 -0000	1.1
  +++ Namespace.java	16 Feb 2007 16:49:03 -0000	1.2
  @@ -15,7 +15,8 @@
   @Target(ElementType.PACKAGE)
   @Retention(RetentionPolicy.RUNTIME)
   @Documented
  -public @interface Namespace {
  +public @interface Namespace 
  +{
       /**
        * @return the configuration namespace
        */
  
  
  
  1.9       +2 -1      jboss-seam/src/main/org/jboss/seam/annotations/Out.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: Out.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/annotations/Out.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -b -r1.8 -r1.9
  --- Out.java	10 Oct 2006 03:48:19 -0000	1.8
  +++ Out.java	16 Feb 2007 16:49:03 -0000	1.9
  @@ -24,7 +24,8 @@
   @Target({FIELD, METHOD})
   @Retention(RUNTIME)
   @Documented
  -public @interface Out {
  +public @interface Out 
  +{
      /**
       * The context variable name. Defaults to the name of 
       * the annotated field or getter method.
  
  
  
  1.2       +2 -1      jboss-seam/src/main/org/jboss/seam/annotations/RaiseEvent.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: RaiseEvent.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/annotations/RaiseEvent.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -b -r1.1 -r1.2
  --- RaiseEvent.java	1 Oct 2006 16:56:54 -0000	1.1
  +++ RaiseEvent.java	16 Feb 2007 16:49:03 -0000	1.2
  @@ -20,7 +20,8 @@
   @Target(METHOD)
   @Retention(RUNTIME)
   @Documented
  -public @interface RaiseEvent {
  +public @interface RaiseEvent 
  +{
      
      /**
       * The event name, defaults to the name
  
  
  
  1.5       +3 -2      jboss-seam/src/main/org/jboss/seam/annotations/RequestParameter.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: RequestParameter.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/annotations/RequestParameter.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -b -r1.4 -r1.5
  --- RequestParameter.java	30 Jun 2006 09:39:22 -0000	1.4
  +++ RequestParameter.java	16 Feb 2007 16:49:03 -0000	1.5
  @@ -1,4 +1,4 @@
  -//$Id: RequestParameter.java,v 1.4 2006/06/30 09:39:22 gavin Exp $
  +//$Id: RequestParameter.java,v 1.5 2007/02/16 16:49:03 gavin Exp $
   package org.jboss.seam.annotations;
   
   import static java.lang.annotation.ElementType.FIELD;
  @@ -17,7 +17,8 @@
   @Target({METHOD, FIELD/*, PARAMETER*/})
   @Retention(RUNTIME)
   @Documented
  -public @interface RequestParameter {
  +public @interface RequestParameter 
  +{
      /**
       * The name of the request parameter
       */
  
  
  
  1.3       +2 -1      jboss-seam/src/main/org/jboss/seam/annotations/Role.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: Role.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/annotations/Role.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -b -r1.2 -r1.3
  --- Role.java	19 Apr 2006 19:06:27 -0000	1.2
  +++ Role.java	16 Feb 2007 16:49:03 -0000	1.3
  @@ -28,7 +28,8 @@
   @Target(TYPE)
   @Retention(RUNTIME)
   @Documented
  -public @interface Role {
  +public @interface Role 
  +{
      String name();
      ScopeType scope() default ScopeType.UNSPECIFIED;
   }
  
  
  
  1.2       +2 -1      jboss-seam/src/main/org/jboss/seam/annotations/Roles.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: Roles.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/annotations/Roles.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -b -r1.1 -r1.2
  --- Roles.java	25 Jan 2006 13:10:52 -0000	1.1
  +++ Roles.java	16 Feb 2007 16:49:03 -0000	1.2
  @@ -21,7 +21,8 @@
   @Target(TYPE)
   @Retention(RUNTIME)
   @Documented
  -public @interface Roles {
  +public @interface Roles 
  +{
      Role[] value();
   }
   
  
  
  
  1.6       +3 -1      jboss-seam/src/main/org/jboss/seam/annotations/Synchronized.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: Synchronized.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/annotations/Synchronized.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -b -r1.5 -r1.6
  --- Synchronized.java	16 Oct 2006 13:23:48 -0000	1.5
  +++ Synchronized.java	16 Feb 2007 16:49:03 -0000	1.6
  @@ -4,6 +4,7 @@
   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;
   
  @@ -11,7 +12,7 @@
    * Specifies that a stateful component has
    * multiple concurrent clients, and so access
    * to the component must be synchronized. This
  - * annotation is not required session scoped
  + * annotation is not required for session scoped
    * components, which are synchronized by default.
    *
    * @author Gavin King
  @@ -20,6 +21,7 @@
   @Target(TYPE)
   @Retention(RUNTIME)
   @Documented
  + at Inherited
   public @interface Synchronized
   {
      public static final int DEFAULT_TIMEOUT = 1000;
  
  
  
  1.4       +2 -1      jboss-seam/src/main/org/jboss/seam/annotations/WebRemote.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: WebRemote.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/annotations/WebRemote.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -b -r1.3 -r1.4
  --- WebRemote.java	26 Jun 2006 10:27:55 -0000	1.3
  +++ WebRemote.java	16 Feb 2007 16:49:03 -0000	1.4
  @@ -15,7 +15,8 @@
   @Target(METHOD)
   @Documented
   @Retention(RUNTIME)
  -public @interface WebRemote {
  +public @interface WebRemote 
  +{
     /**
      * Specifies a list of paths to exclude from the result's object graph
      */
  
  
  



More information about the jboss-cvs-commits mailing list