Top Description Fields Constructors Methods
org.springframework.aop

pack-priv final Class TruePointcut

extends Object
implements Pointcut, Serializable
Class Inheritance
All Implemented Interfaces
java.io.Serializable, org.springframework.aop.Pointcut
Annotations
@SuppressWarnings:serial
Imports
java.io.Serializable

Canonical Pointcut instance that always matches.
Author
Rod Johnson

Field Summary

Modifier and TypeField and Description
public static final TruePointcut

Constructor Summary

AccessConstructor and Description
private
TruePointcut()

Enforce Singleton pattern.

Method Summary

Modifier and TypeMethod and Description
public ClassFilter
getClassFilter()

Implements org.springframework.aop.Pointcut.getClassFilter.

Return the ClassFilter for this pointcut.
public MethodMatcher
getMethodMatcher()

Implements org.springframework.aop.Pointcut.getMethodMatcher.

Return the MethodMatcher for this pointcut.
private Object
readResolve()

Required to support serialization.

public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

INSTANCEback to summary
public static final TruePointcut INSTANCE

Constructor Detail

TruePointcutback to summary
private TruePointcut()

Enforce Singleton pattern.

Method Detail

getClassFilterback to summary
public ClassFilter getClassFilter()

Implements org.springframework.aop.Pointcut.getClassFilter.

Doc from org.springframework.aop.Pointcut.getClassFilter.

Return the ClassFilter for this pointcut.

Returns:ClassFilter

the ClassFilter (never null)

Annotations
@Override
getMethodMatcherback to summary
public MethodMatcher getMethodMatcher()

Implements org.springframework.aop.Pointcut.getMethodMatcher.

Doc from org.springframework.aop.Pointcut.getMethodMatcher.

Return the MethodMatcher for this pointcut.

Returns:MethodMatcher

the MethodMatcher (never null)

Annotations
@Override
readResolveback to summary
private Object readResolve()

Required to support serialization. Replaces with canonical instance on deserialization, protecting Singleton pattern. Alternative to overriding equals().

toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object.

Returns:String

a string representation of the object.

Annotations
@Override