public class CompositeMethodListener extends Object implements MethodExecutionListener
MethodExecutionListener.DEFAULT| Constructor and Description |
|---|
CompositeMethodListener() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addListener(MethodExecutionListener listener) |
void |
afterMethod(MethodExecutionContext executionContext) |
void |
beforeMethod(MethodExecutionContext executionContext) |
List<MethodExecutionListener> |
getListeners() |
void |
setListeners(List<MethodExecutionListener> listeners) |
public void beforeMethod(MethodExecutionContext executionContext)
beforeMethod in interface MethodExecutionListenerpublic void afterMethod(MethodExecutionContext executionContext)
afterMethod in interface MethodExecutionListenerpublic boolean addListener(MethodExecutionListener listener)
public List<MethodExecutionListener> getListeners()
public void setListeners(List<MethodExecutionListener> listeners)
Copyright © 2023. All rights reserved.