public interface EventListenerFactory
ApplicationListener for methods
annotated with EventListener.| Modifier and Type | Method and Description |
|---|---|
ApplicationListener<?> |
createApplicationListener(java.lang.String beanName,
java.lang.Class<?> type,
java.lang.reflect.Method method)
Create an
ApplicationListener for the specified method. |
boolean |
supportsMethod(java.lang.reflect.Method method)
Specify if this factory supports the specified
Method. |
boolean supportsMethod(java.lang.reflect.Method method)
Method.method - an EventListener annotated methodtrue if this factory supports the specified methodApplicationListener<?> createApplicationListener(java.lang.String beanName, java.lang.Class<?> type, java.lang.reflect.Method method)
ApplicationListener for the specified method.beanName - the name of the beantype - the target type of the instancemethod - the EventListener annotated method