org.compass.spring.aop
Class CompassSaveAdvice

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

public class CompassSaveAdvice
extends AbstractCompassSaveInterceptor
implements org.springframework.aop.AfterReturningAdvice

A Spring Aop Advice that saves 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
CompassSaveAdvice()
           
 
Method Summary
 void afterReturning(Object returnValue, Method method, Object[] args, Object target)
           
 
Methods inherited from class org.compass.spring.aop.AbstractCompassSaveInterceptor
save
 
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

CompassSaveAdvice

public CompassSaveAdvice()
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.