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

Gavin King gavin.king at jboss.com
Tue Oct 31 21:54:01 EST 2006


  User: gavin   
  Date: 06/10/31 21:54:01

  Modified:    src/main/org/jboss/seam  Component.java
  Log:
  insulate dependency to javax.interceptor
  
  Revision  Changes    Path
  1.201     +3 -3      jboss-seam/src/main/org/jboss/seam/Component.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: Component.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/Component.java,v
  retrieving revision 1.200
  retrieving revision 1.201
  diff -u -b -r1.200 -r1.201
  --- Component.java	1 Nov 2006 01:52:08 -0000	1.200
  +++ Component.java	1 Nov 2006 02:54:01 -0000	1.201
  @@ -24,6 +24,7 @@
   import static org.jboss.seam.util.EJB.PRE_PASSIVATE;
   import static org.jboss.seam.util.EJB.REMOTE;
   import static org.jboss.seam.util.EJB.REMOVE;
  +import static org.jboss.seam.util.EJB.INTERCEPTORS;
   import static org.jboss.seam.util.EJB.value;
   
   import java.io.Serializable;
  @@ -41,7 +42,6 @@
   import java.util.Map;
   import java.util.Set;
   
  -import javax.interceptor.Interceptors;
   import javax.naming.NamingException;
   import javax.servlet.http.HttpSessionActivationListener;
   
  @@ -118,7 +118,7 @@
    *
    * @author <a href="mailto:theute at jboss.org">Thomas Heute</a>
    * @author Gavin King
  - * @version $Revision: 1.200 $
  + * @version $Revision: 1.201 $
    */
   @Scope(ScopeType.APPLICATION)
   @SuppressWarnings("deprecation")
  @@ -620,7 +620,7 @@
   
         for (Annotation annotation: beanClass.getAnnotations())
         {
  -         if ( annotation.annotationType().isAnnotationPresent(Interceptors.class) )
  +         if ( annotation.annotationType().isAnnotationPresent(INTERCEPTORS) )
            {
               addInterceptor( new Interceptor(annotation, this) );
            }
  
  
  



More information about the jboss-cvs-commits mailing list