org.springframework.jee.intercept
Class JeeInterceptorPointcutAdvisor
java.lang.Object
org.springframework.aop.support.StaticMethodMatcher
org.springframework.aop.support.StaticMethodMatcherPointcut
org.springframework.aop.support.StaticMethodMatcherPointcutAdvisor
org.springframework.jee.intercept.JeeInterceptorPointcutAdvisor
- All Implemented Interfaces:
- java.io.Serializable, org.springframework.aop.Advisor, org.springframework.aop.MethodMatcher, org.springframework.aop.Pointcut, org.springframework.aop.PointcutAdvisor, org.springframework.core.Ordered
public class JeeInterceptorPointcutAdvisor
- extends org.springframework.aop.support.StaticMethodMatcherPointcutAdvisor
Spring AOP pointcut that can be used for a method-targeted EJB3 style
interception
- Author:
- Rod Johnson
- See Also:
- Serialized Form
Fields inherited from interface org.springframework.core.Ordered |
LOWEST_PRECEDENCE |
Fields inherited from interface org.springframework.aop.Pointcut |
TRUE |
Fields inherited from interface org.springframework.aop.MethodMatcher |
TRUE |
Methods inherited from class org.springframework.aop.support.StaticMethodMatcherPointcutAdvisor |
getOrder, getPointcut, isPerInstance, setAdvice, setOrder |
Methods inherited from class org.springframework.aop.support.StaticMethodMatcherPointcut |
getClassFilter, getMethodMatcher, setClassFilter |
Methods inherited from class org.springframework.aop.support.StaticMethodMatcher |
isRuntime, matches |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
JeeInterceptorPointcutAdvisor
public JeeInterceptorPointcutAdvisor(java.lang.reflect.Method targetMethod,
JeeInterceptorInterceptor advice,
DeploymentUnitMetadata deploymentUnitMetadata,
java.util.Map<java.lang.reflect.Method,InterceptionMetadata.InterceptorExclusion> exclusion,
java.util.Set<java.lang.Object> interceptorOrderObject)
- Parameters:
targetMethod
- matching method. If this is null, will always matchadvice
- JeeInterceptor
matches
public boolean matches(java.lang.reflect.Method method,
java.lang.Class targetClass)
isExcluded
protected boolean isExcluded(java.lang.reflect.Method method)
getAdvice
public JeeInterceptorInterceptor getAdvice()
- Return the typed advice associated with this interceptor.
- Specified by:
getAdvice
in interface org.springframework.aop.Advisor
- Overrides:
getAdvice
in class org.springframework.aop.support.StaticMethodMatcherPointcutAdvisor
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright 2006 Interface21. All Rights Reserved.