public interface EventListenerFactory
EventListener
アノテーションが付けられたメソッドの ApplicationListener
を作成するための戦略インターフェース。修飾子と型 | メソッドと説明 |
---|---|
ApplicationListener<?> | createApplicationListener(StringSE beanName, ClassSE<?> type, MethodSE method) 指定されたメソッドの ApplicationListener を作成します。 |
boolean | supportsMethod(MethodSE method) このファクトリが指定された Method SE をサポートするかどうかを指定します。 |
boolean supportsMethod(MethodSE method)
Method
SE をサポートするかどうかを指定します。method
- EventListener
アノテーション付きメソッド true
ApplicationListener<?> createApplicationListener(StringSE beanName, ClassSE<?> type, MethodSE method)
ApplicationListener
を作成します。beanName
- Bean の名前 type
- インスタンスのターゲット型 method
- EventListener
アノテーション付きメソッド