net.sf.oness.common.model.dao
Class AuditableDaoAdvisor

java.lang.Object
  extended byorg.springframework.aop.support.StaticMethodMatcher
      extended byorg.springframework.aop.support.StaticMethodMatcherPointcut
          extended byorg.springframework.aop.support.StaticMethodMatcherPointcutAdvisor
              extended bynet.sf.oness.common.model.dao.AuditableDaoAdvisor
All Implemented Interfaces:
org.aopalliance.aop.Advice, org.springframework.aop.Advisor, org.aopalliance.intercept.Interceptor, org.aopalliance.intercept.MethodInterceptor, org.springframework.aop.MethodMatcher, org.springframework.core.Ordered, org.springframework.aop.Pointcut, org.springframework.aop.PointcutAdvisor, java.io.Serializable

public class AuditableDaoAdvisor
extends org.springframework.aop.support.StaticMethodMatcherPointcutAdvisor
implements org.aopalliance.intercept.MethodInterceptor

AOP Advisor implementing an auditing DAO

Version:
$Revision: 1.3 $
Author:
Carlos Sanchez
See Also:
Serialized Form

Field Summary
 
Fields inherited from interface org.springframework.aop.Pointcut
TRUE
 
Fields inherited from interface org.springframework.aop.MethodMatcher
TRUE
 
Constructor Summary
AuditableDaoAdvisor()
           
 
Method Summary
 java.lang.Object invoke(org.aopalliance.intercept.MethodInvocation invocation)
           
 boolean matches(java.lang.reflect.Method m, java.lang.Class targetClass)
           
 
Methods inherited from class org.springframework.aop.support.StaticMethodMatcherPointcutAdvisor
getAdvice, getOrder, getPointcut, isPerInstance, setAdvice, setOrder
 
Methods inherited from class org.springframework.aop.support.StaticMethodMatcherPointcut
getClassFilter, getMethodMatcher
 
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, toString, wait, wait, wait
 

Constructor Detail

AuditableDaoAdvisor

public AuditableDaoAdvisor()
Method Detail

invoke

public java.lang.Object invoke(org.aopalliance.intercept.MethodInvocation invocation)
                        throws java.lang.Throwable
Specified by:
invoke in interface org.aopalliance.intercept.MethodInterceptor
Throws:
java.lang.Throwable
See Also:
MethodInterceptor.invoke(org.aopalliance.intercept.MethodInvocation)

matches

public boolean matches(java.lang.reflect.Method m,
                       java.lang.Class targetClass)
Specified by:
matches in interface org.springframework.aop.MethodMatcher
See Also:
MethodMatcher.matches(java.lang.reflect.Method, java.lang.Class)


Copyright © 2003-2005 ONess Project. All Rights Reserved.