protected static class BeforeAfterMethodInterceptor.FilterMethods
extends java.lang.Object
Modifier | Constructor and Description |
---|---|
protected |
BeforeAfterMethodInterceptor.FilterMethods() |
Modifier and Type | Method and Description |
---|---|
void |
addAfterMethod(LifecycleStage[] stages,
java.lang.reflect.Method method)
Adds a method to be executed after the supplied LifecycleStages.
|
void |
addBeforeMethod(LifecycleStage[] stages,
java.lang.reflect.Method method)
Adds a method to be executed before the supplied LifecycleStages.
|
java.util.List<java.lang.reflect.Method> |
getAfterMethods(LifecycleStage stage)
Gets the Before methods for the given LifecycleStage.
|
java.util.List<java.lang.reflect.Method> |
getBeforeMethods(LifecycleStage stage)
Gets the Before methods for the given LifecycleStage.
|
protected BeforeAfterMethodInterceptor.FilterMethods()
public void addBeforeMethod(LifecycleStage[] stages, java.lang.reflect.Method method)
stages
- All the LifecycleStages that the given filter method should be invoked beforemethod
- The filter method to be invoked before the given LifecycleStage(s)public void addAfterMethod(LifecycleStage[] stages, java.lang.reflect.Method method)
stages
- All the LifecycleStages that the given filter method should be invoked aftermethod
- The filter method to be invoked after the given LifecycleStage(s)public java.util.List<java.lang.reflect.Method> getBeforeMethods(LifecycleStage stage)
stage
- The LifecycleStage to find Before methods for.public java.util.List<java.lang.reflect.Method> getAfterMethods(LifecycleStage stage)
stage
- The LifecycleStage to find Before methods for.? Copyright 2005-2006, Stripes Development Team.