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

Norman Richards norman.richards at jboss.com
Wed Nov 15 01:12:29 EST 2006


  User: nrichards
  Date: 06/11/15 01:12:28

  Added:       src/main/org/jboss/seam/annotations  Namespace.java
  Log:
  JBSEAM-502: add package namespaces for simplified xml configuration
  
  Revision  Changes    Path
  1.1      date: 2006/11/15 06:12:28;  author: nrichards;  state: Exp;jboss-seam/src/main/org/jboss/seam/annotations/Namespace.java
  
  Index: Namespace.java
  ===================================================================
  /*
   * JBoss, Home of Professional Open Source
   *
   * Distributable under LGPL license.
   * See terms of license at gnu.org.
   */
  package org.jboss.seam.annotations;
  
  import java.lang.annotation.*;
  
  /**
   * Specifies the configuration namespace of a seam component.
   * 
   */
  @Target(ElementType.PACKAGE)
  @Retention(RetentionPolicy.RUNTIME)
  @Documented
  public @interface Namespace {
      /**
       * @return the configuration namespace
       */
      String value();
      /**
       *  The component package name prefix, if any
       */
      String prefix() default "";
  }
  
  
  
  
  



More information about the jboss-cvs-commits mailing list