protected static class BeforeAfterMethodInterceptor.FilterMethods extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
BeforeAfterMethodInterceptor.FilterMethods() |
| Modifier and Type | Method and Description |
|---|---|
void |
addAfterMethod(LifecycleStage[] stages,
Method method)
Adds a method to be executed after the supplied LifecycleStages.
|
void |
addBeforeMethod(LifecycleStage[] stages,
Method method)
Adds a method to be executed before the supplied LifecycleStages.
|
List<Method> |
getAfterMethods(LifecycleStage stage)
Gets the Before methods for the given LifecycleStage.
|
List<Method> |
getBeforeMethods(LifecycleStage stage)
Gets the Before methods for the given LifecycleStage.
|
protected BeforeAfterMethodInterceptor.FilterMethods()
public void addBeforeMethod(LifecycleStage[] stages, 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, 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 List<Method> getBeforeMethods(LifecycleStage stage)
stage - The LifecycleStage to find Before methods for.public List<Method> getAfterMethods(LifecycleStage stage)
stage - The LifecycleStage to find Before methods for.© Copyright 2005-2006, Stripes Development Team.