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

Gavin King gavin.king at jboss.com
Wed Nov 15 16:48:19 EST 2006


  User: gavin   
  Date: 06/11/15 16:48:19

  Added:       src/main/org/jboss/seam/annotations  ReadOnly.java
  Log:
  JBSEAM-419
  
  Revision  Changes    Path
  1.1      date: 2006/11/15 21:48:19;  author: gavin;  state: Exp;jboss-seam/src/main/org/jboss/seam/annotations/ReadOnly.java
  
  Index: ReadOnly.java
  ===================================================================
  /*
   * JBoss, Home of Professional Open Source
   *
   * Distributable under LGPL license.
   * See terms of license at gnu.org.
   */
  package org.jboss.seam.annotations;
  
  import static java.lang.annotation.ElementType.METHOD;
  import static java.lang.annotation.ElementType.TYPE;
  import static java.lang.annotation.RetentionPolicy.RUNTIME;
  
  import java.lang.annotation.Documented;
  import java.lang.annotation.Retention;
  import java.lang.annotation.Target;
  
  /**
   * Marks a component as immutable, not needing replication
   * once created, or a method of the component as read-only,
   * not mutating the state. This allows optimization of 
   * performance of JavaBean components in a clustered
   * environment, without the need to implement Mutable.
   * 
   * @see org.jboss.seam.core.Mutable
   * @author Gavin King
   */
  @Target({TYPE, METHOD})
  @Retention(RUNTIME)
  @Documented
  public @interface ReadOnly {}
  
  
  
  
  



More information about the jboss-cvs-commits mailing list