Class MultiverseApplicationListenerMethodAdapter
java.lang.Object
org.springframework.context.event.ApplicationListenerMethodAdapter
it.uniroma2.art.semanticturkey.multiverse.MultiverseApplicationListenerMethodAdapter
- All Implemented Interfaces:
EventListener
,org.springframework.context.ApplicationListener<org.springframework.context.ApplicationEvent>
,org.springframework.context.event.GenericApplicationListener
,org.springframework.context.event.SmartApplicationListener
,org.springframework.core.Ordered
public class MultiverseApplicationListenerMethodAdapter
extends org.springframework.context.event.ApplicationListenerMethodAdapter
ApplicationListener
implementation invoking the same method in each world.- Author:
- Manuel Fiorelli
-
Field Summary
Fields inherited from class org.springframework.context.event.ApplicationListenerMethodAdapter
logger
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
-
Constructor Summary
ConstructorsConstructorDescriptionMultiverseApplicationListenerMethodAdapter
(String beanName, Class<?> targetClass, Method method, MultiverseManager multiverseManager) Construct a new ApplicationListenerMethodAdapter. -
Method Summary
Methods inherited from class org.springframework.context.event.ApplicationListenerMethodAdapter
getCondition, getDefaultListenerId, getDetailedErrorMessage, getListenerId, getOrder, getTargetBean, getTargetMethod, handleAsyncError, handleResult, onApplicationEvent, processEvent, resolveArguments, shouldHandle, supportsEventType, supportsSourceType, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.springframework.context.ApplicationListener
supportsAsyncExecution
Methods inherited from interface org.springframework.context.event.GenericApplicationListener
supportsEventType
-
Constructor Details
-
MultiverseApplicationListenerMethodAdapter
public MultiverseApplicationListenerMethodAdapter(String beanName, Class<?> targetClass, Method method, MultiverseManager multiverseManager) Construct a new ApplicationListenerMethodAdapter.- Parameters:
beanName
- the name of the bean to invoke the listener method ontargetClass
- the target class that the method is declared onmethod
- the listener method to invokemultiverseManager
- the multiverse manager
-
-
Method Details
-
doInvoke
- Overrides:
doInvoke
in classorg.springframework.context.event.ApplicationListenerMethodAdapter
-