org.javasimon.spring
Enum MonitoredMeasuringPointcut.MonitoredMethodMatcher

java.lang.Object
  extended by java.lang.Enum<MonitoredMeasuringPointcut.MonitoredMethodMatcher>
      extended by 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


Enum Constant Summary
INSTANCE
           
 
Field Summary
 
Fields inherited from interface org.springframework.aop.MethodMatcher
TRUE
 
Method Summary
private  boolean isMonitoredAnnotationOnClassOrMethod(Method method, Class targetClass)
           
 boolean isRuntime()
           
 boolean matches(Method method, Class targetClass)
           
 boolean matches(Method method, Class targetClass, Object[] args)
           
static MonitoredMeasuringPointcut.MonitoredMethodMatcher valueOf(String name)
          Returns the enum constant of this type with the specified name.
static MonitoredMeasuringPointcut.MonitoredMethodMatcher[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

INSTANCE

public static final MonitoredMeasuringPointcut.MonitoredMethodMatcher INSTANCE
Method Detail

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

isMonitoredAnnotationOnClassOrMethod

private boolean isMonitoredAnnotationOnClassOrMethod(Method method,
                                                     Class targetClass)

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 © 2013. All Rights Reserved.