Example usage for org.springframework.aop.support StaticMethodMatcherPointcutAdvisor subclass-usage

List of usage examples for org.springframework.aop.support StaticMethodMatcherPointcutAdvisor subclass-usage

Introduction

In this page you can find the example usage for org.springframework.aop.support StaticMethodMatcherPointcutAdvisor subclass-usage.

Usage

From source file net.paslavsky.springrest.SpringRestClientAOPAdvisor.java

/**
 * This {@link org.springframework.aop.Advisor Advisor} determines the methods that are abstract and do not belong to the
 * class {@link java.lang.Object Object}.
 *
 * @author Andrey Paslavsky
 * @version 1.0

From source file org.springmodules.cache.interceptor.caching.CachingAttributeSourceAdvisor.java

/**
 * <p>
 * Advisor driven by a <code>{@link CachingAttributeSource}</code> that tells
 * <code>{@link MetadataCachingInterceptor}</code> which methods should be
 * intercepted.
 * </p>

From source file org.springmodules.cache.interceptor.flush.FlushingAttributeSourceAdvisor.java

/**
 * <p>
 * Advisor driven by a <code>{@link FlushingAttributeSource}</code> that tells
 * <code>{@link MetadataFlushingInterceptor}</code> the methods that should be
 * intercepted.
 * </p>

From source file org.springmodules.cache.interceptor.flush.FlushingModelSourceAdvisor.java

/**
 * <p>
 * Advisor driven by a <code>{@link FlushingModelSource}</code> that tells
 * <code>{@link NameMatchFlushingInterceptor}</code> which methods should be
 * intercepted.
 * </p>

From source file org.springmodules.cache.interceptor.caching.CachingModelSourceAdvisor.java

/**
 * <p>
 * Advisor driven by a <code>{@link CachingModelSource}</code> that points to
 * <code>{@link NameMatchCachingInterceptor}</code> which methods should be
 * intercepted.
 * </p>

From source file net.paslavsky.springrest.SpringRestClientToStringAdvisor.java

/**
* TODO Class description
*
* @author Andrey Paslavsky
* @version 1.0
*/

From source file org.openmrs.module.ejemplomedellin.advice.LimitPatientSearchResultsAdvisor.java

/**
 *
 */
public class LimitPatientSearchResultsAdvisor extends StaticMethodMatcherPointcutAdvisor implements Advisor {

    /**

From source file org.openmrs.module.restrictbyuser.advice.GetPatientAdvisor.java

public class GetPatientAdvisor extends StaticMethodMatcherPointcutAdvisor implements Advisor {

    private static final long serialVersionUID = 1L;
    private Log log = LogFactory.getLog(this.getClass());

    public boolean matches(Method method, Class targetClass) {

From source file org.openmrs.module.restrictbyrole.advice.PurgeCohortDefinitionAdvisor.java

/**
 * Advisor that intercepts the following methods: 
 * {@link org.openmrs.module.reporting.definition.service.SerializedDefinitionService#purgeDefinition(String)}
 */
public class PurgeCohortDefinitionAdvisor extends StaticMethodMatcherPointcutAdvisor implements Advisor {

From source file org.openmrs.module.encounteralerts.advice.PurgeDefinitionAdvisor.java

public class PurgeDefinitionAdvisor extends StaticMethodMatcherPointcutAdvisor implements Advisor {

    @Override
    public boolean matches(Method method, Class targetClass) {
        return (SerializedDefinitionService.class.isAssignableFrom(targetClass)
                && method.getName().equals("purgeDefinition"));