[prev in list] [next in list] [prev in thread] [next in thread]
List: jboss-cvs-commits
Subject: [jboss-cvs] jboss-aop/src/main/org/jboss/aop/advice GenericInterceptorFactory.java InterceptorFactor
From: Bill Burke <patriot1burke () users ! sourceforge ! net>
Date: 2005-02-25 22:17:27
Message-ID: E1D4nm3-00005t-HQ () sc8-pr-cvs1 ! sourceforge ! net
[Download RAW message or body]
User: patriot1burke
Date: 05/02/25 14:17:27
Modified: src/main/org/jboss/aop/advice GenericInterceptorFactory.java
InterceptorFactory.java
ScopedInterceptorFactory.java
Log:
closer to Microcontainer changes
Revision Changes Path
1.8 +6 -3 jboss-aop/src/main/org/jboss/aop/advice/GenericInterceptorFactory.java
Index: GenericInterceptorFactory.java
===================================================================
RCS file: /cvsroot/jboss/jboss-aop/src/main/org/jboss/aop/advice/GenericInterceptorFactory.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- GenericInterceptorFactory.java 23 Feb 2005 22:45:01 -0000 1.7
+++ GenericInterceptorFactory.java 25 Feb 2005 22:17:27 -0000 1.8
@@ -32,12 +32,15 @@
this.classname = clazz.getName();
}
- public GenericInterceptorFactory(Class clazz, Element element)
+ public AspectDefinition getAspect()
{
- this(clazz);
- this.element = element;
+ return null;
}
+ public String getAdvice()
+ {
+ return "invoke";
+ }
public void undeploy() { deployed = false; }
public boolean isDeployed()
1.6 +2 -0 jboss-aop/src/main/org/jboss/aop/advice/InterceptorFactory.java
Index: InterceptorFactory.java
===================================================================
RCS file: /cvsroot/jboss/jboss-aop/src/main/org/jboss/aop/advice/InterceptorFactory.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- InterceptorFactory.java 30 Aug 2004 21:17:37 -0000 1.5
+++ InterceptorFactory.java 25 Feb 2005 22:17:27 -0000 1.6
@@ -17,6 +17,8 @@
*/
public interface InterceptorFactory
{
+ public AspectDefinition getAspect();
+ public String getAdvice();
public Interceptor create(Advisor advisor, Joinpoint joinpoint);
public boolean isDeployed();
}
1.5 +7 -2 jboss-aop/src/main/org/jboss/aop/advice/ScopedInterceptorFactory.java
Index: ScopedInterceptorFactory.java
===================================================================
RCS file: /cvsroot/jboss/jboss-aop/src/main/org/jboss/aop/advice/ScopedInterceptorFactory.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- ScopedInterceptorFactory.java 10 Dec 2004 03:27:17 -0000 1.4
+++ ScopedInterceptorFactory.java 25 Feb 2005 22:17:27 -0000 1.5
@@ -13,7 +13,7 @@
* Comment
*
* @author <a href="mailto:bill@jboss.org">Bill Burke</a>
- * @version $Revision: 1.4 $
+ * @version $Revision: 1.5 $
*/
public class ScopedInterceptorFactory implements InterceptorFactory
{
@@ -24,11 +24,16 @@
this.aspect = aspect;
}
- public AspectDefinition getInterceptorDefinition()
+ public AspectDefinition getAspect()
{
return aspect;
}
+ public String getAdvice()
+ {
+ return "invoke";
+ }
+
public boolean isDeployed()
{
return aspect.isDeployed();
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
jboss-cvs-commits mailing list
jboss-cvs-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-cvs-commits
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic