org.javasimon.spring
Enum MonitoredMeasuringPointcut.MonitoredMethodMatcher
java.lang.Object
java.lang.Enum<MonitoredMeasuringPointcut.MonitoredMethodMatcher>
org.javasimon.spring.MonitoredMeasuringPointcut.MonitoredMethodMatcher
- All Implemented Interfaces:
- Serializable, Comparable<MonitoredMeasuringPointcut.MonitoredMethodMatcher>, org.springframework.aop.MethodMatcher
- Enclosing class:
- MonitoredMeasuringPointcut
private static enum MonitoredMeasuringPointcut.MonitoredMethodMatcher
- extends Enum<MonitoredMeasuringPointcut.MonitoredMethodMatcher>
- implements org.springframework.aop.MethodMatcher
| Fields inherited from interface org.springframework.aop.MethodMatcher |
TRUE |
INSTANCE
public static final MonitoredMeasuringPointcut.MonitoredMethodMatcher INSTANCE
values
public static MonitoredMeasuringPointcut.MonitoredMethodMatcher[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (MonitoredMeasuringPointcut.MonitoredMethodMatcher c : MonitoredMeasuringPointcut.MonitoredMethodMatcher.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static MonitoredMeasuringPointcut.MonitoredMethodMatcher valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
matches
public boolean matches(Method method,
Class targetClass)
- Specified by:
matches in interface org.springframework.aop.MethodMatcher
isRuntime
public boolean isRuntime()
- Specified by:
isRuntime in interface org.springframework.aop.MethodMatcher
matches
public boolean matches(Method method,
Class targetClass,
Object[] args)
- Specified by:
matches in interface org.springframework.aop.MethodMatcher
Copyright © 2012. All Rights Reserved.