[jboss-cvs] jboss-seam/src/main/org/jboss/seam/intercept ...
Gavin King
gavin.king at jboss.com
Wed Nov 8 16:14:37 EST 2006
User: gavin
Date: 06/11/08 16:14:37
Modified: src/main/org/jboss/seam/intercept Interceptor.java
Log:
add @Interceptors, JBSEAm-467
Revision Changes Path
1.5 +2 -5 jboss-seam/src/main/org/jboss/seam/intercept/Interceptor.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: Interceptor.java
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/intercept/Interceptor.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- Interceptor.java 1 Nov 2006 02:54:02 -0000 1.4
+++ Interceptor.java 8 Nov 2006 21:14:37 -0000 1.5
@@ -1,13 +1,11 @@
-//$Id: Interceptor.java,v 1.4 2006/11/01 02:54:02 gavin Exp $
+//$Id: Interceptor.java,v 1.5 2006/11/08 21:14:37 gavin Exp $
package org.jboss.seam.intercept;
import static org.jboss.seam.util.EJB.AROUND_INVOKE;
-import static org.jboss.seam.util.EJB.INTERCEPTORS;
import static org.jboss.seam.util.EJB.POST_ACTIVATE;
import static org.jboss.seam.util.EJB.POST_CONSTRUCT;
import static org.jboss.seam.util.EJB.PRE_DESTROY;
import static org.jboss.seam.util.EJB.PRE_PASSIVATE;
-import static org.jboss.seam.util.EJB.value;
import java.lang.annotation.Annotation;
import java.lang.reflect.Method;
@@ -95,9 +93,8 @@
init();
}
- public Interceptor(Annotation annotation, Component component)
+ public Interceptor(Class[] classes, Annotation annotation, Component component)
{
- Class[] classes = value( annotation.annotationType().getAnnotation(INTERCEPTORS) );
if (classes.length!=1)
{
//TODO: remove this silly restriction!
More information about the jboss-cvs-commits
mailing list