public interface

ClassFilter

org.springframework.aop.ClassFilter
Known Indirect Subclasses

Class Overview

Filter that restricts matching of a pointcut or introduction to a given set of target classes.

Can be used as part of a Pointcut or for the entire targeting of an IntroductionAdvisor.

Summary

Fields
public static final ClassFilter TRUE Canonical instance of a ClassFilter that matches all classes.
Public Methods
abstract boolean matches(Class<?> clazz)
Should the pointcut apply to the given interface or target class?

Fields

public static final ClassFilter TRUE

Canonical instance of a ClassFilter that matches all classes.

Public Methods

public abstract boolean matches (Class<?> clazz)

Should the pointcut apply to the given interface or target class?

Parameters
clazz the candidate target class
Returns
  • whether the advice should apply to the given target class