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

Gavin King gavin.king at jboss.com
Thu Nov 16 08:19:08 EST 2006


  User: gavin   
  Date: 06/11/16 08:19:08

  Added:       src/main/org/jboss/seam/annotations 
                        PerNestedConversation.java
  Log:
  JBSEAM-167, JBSEAM-381
  
  Revision  Changes    Path
  1.1      date: 2006/11/16 13:19:08;  author: gavin;  state: Exp;jboss-seam/src/main/org/jboss/seam/annotations/PerNestedConversation.java
  
  Index: PerNestedConversation.java
  ===================================================================
  package org.jboss.seam.annotations;
  
  import static java.lang.annotation.ElementType.TYPE;
  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;
  
  /**
   * Limit the scope of a CONVERSATION-scoped component
   * to just the parent conversation in which it was 
   * instantiated. The component instance will not be
   * visible to nested child conversations, which will
   * get their own instance.
   * 
   * Warning: this is ill-defined, since it implies that
   * a component will be visible for some part of a
   * request cycle, and invisible after that. It is not
   * recommended that applications use this feature!
   * 
   * @author Gavin King
   *
   */
  @Target(TYPE)
  @Retention(RUNTIME)
  @Documented
  @Inherited
  public @interface PerNestedConversation {}
  
  
  



More information about the jboss-cvs-commits mailing list