org.compass.spring.aop
Class CompassDeleteAdvice

java.lang.Object
  extended by org.compass.spring.aop.AbstractCompassInterceptor
      extended by org.compass.spring.aop.AbstractCompassDeleteInterceptor
          extended by org.compass.spring.aop.CompassDeleteAdvice
All Implemented Interfaces:
org.aopalliance.aop.Advice, org.springframework.aop.AfterAdvice, org.springframework.aop.AfterReturningAdvice, org.springframework.beans.factory.InitializingBean

public class CompassDeleteAdvice
extends AbstractCompassDeleteInterceptor
implements org.springframework.aop.AfterReturningAdvice

A Spring Aop Advice that deletes a data object object in Compass index. Which object to create is configured and explained in the base class.

Author:
kimchy

Field Summary
 
Fields inherited from class org.compass.spring.aop.AbstractCompassInterceptor
compassTemplate
 
Constructor Summary
CompassDeleteAdvice()
           
 
Method Summary
 void afterReturning(Object returnValue, Method method, Object[] args, Object target)
           
 
Methods inherited from class org.compass.spring.aop.AbstractCompassDeleteInterceptor
delete
 
Methods inherited from class org.compass.spring.aop.AbstractCompassInterceptor
afterPropertiesSet, findObject, getCompass, getParameterIndex, isUseReturnValue, setCompass, setParameterIndex, setUseReturnValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompassDeleteAdvice

public CompassDeleteAdvice()
Method Detail

afterReturning

public void afterReturning(Object returnValue,
                           Method method,
                           Object[] args,
                           Object target)
                    throws Throwable
Specified by:
afterReturning in interface org.springframework.aop.AfterReturningAdvice
Throws:
Throwable


Copyright (c) 2004-2008 The Compass Project.