net.sf.joyaop.impl.aspect
Class BaseInterceptorAspectImpl

java.lang.Object
  extended by net.sf.joyaop.impl.aspect.BaseAspectImpl
      extended by net.sf.joyaop.impl.aspect.BaseRuntimeAspectImpl
          extended by net.sf.joyaop.impl.aspect.BaseInterceptorAspectImpl
All Implemented Interfaces:
java.lang.Comparable, Aspect, InterceptorAspect, RuntimeAspect
Direct Known Subclasses:
AbstractGenericInterceptorAspectImpl, AopAllianceMethodInterceptorAspectImpl, DecoratorAspectImpl, GenericInterceptorAspectImpl

public abstract class BaseInterceptorAspectImpl
extends BaseRuntimeAspectImpl
implements InterceptorAspect, java.lang.Comparable

Author:
Shen Li

Field Summary
 
Fields inherited from interface net.sf.joyaop.framework.RuntimeAspect
CLASS_SCOPE, INSTANCE_SCOPE, JVM_SCOPE, THREAD_SCOPE
 
Constructor Summary
protected BaseInterceptorAspectImpl()
           
 
Method Summary
protected  boolean accept(java.lang.reflect.Method method)
           
protected  void addInterceptor(AspectizedClass aspectizedClass, java.lang.reflect.Method method)
           
 int compareTo(java.lang.Object object)
           
 int getPrecedence()
           
 void setPrecedence(int precedence)
           
 void weave(AspectizedClass aspectizedClass)
           
 
Methods inherited from class net.sf.joyaop.impl.aspect.BaseRuntimeAspectImpl
createRuntimeAspectInstance, getParameters, getScope, setParameters, setScope
 
Methods inherited from class net.sf.joyaop.impl.aspect.BaseAspectImpl
equals, getAspectClass, getPointcut, hashCode, setAspectClass, setPointcut
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface net.sf.joyaop.framework.RuntimeAspect
getParameters, getScope, setParameters, setScope
 
Methods inherited from interface net.sf.joyaop.framework.Aspect
getAspectClass, getPointcut, setAspectClass, setPointcut
 

Constructor Detail

BaseInterceptorAspectImpl

protected BaseInterceptorAspectImpl()
Method Detail

weave

public void weave(AspectizedClass aspectizedClass)
Specified by:
weave in interface Aspect
Overrides:
weave in class BaseAspectImpl

getPrecedence

public int getPrecedence()
Specified by:
getPrecedence in interface InterceptorAspect

setPrecedence

public void setPrecedence(int precedence)
Specified by:
setPrecedence in interface InterceptorAspect

compareTo

public int compareTo(java.lang.Object object)
Specified by:
compareTo in interface java.lang.Comparable

accept

protected boolean accept(java.lang.reflect.Method method)

addInterceptor

protected void addInterceptor(AspectizedClass aspectizedClass,
                              java.lang.reflect.Method method)


Copyright © 2004 Shen Li. All Rights Reserved.