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

    Constructors
    Constructor
    Description
    MultiverseApplicationListenerMethodAdapter(String beanName, Class<?> targetClass, Method method, MultiverseManager multiverseManager)
    Construct a new ApplicationListenerMethodAdapter.
  • Method Summary

    Modifier and Type
    Method
    Description
    protected Object
    doInvoke(Object... args)
     

    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 on
      targetClass - the target class that the method is declared on
      method - the listener method to invoke
      multiverseManager - the multiverse manager
  • Method Details

    • doInvoke

      protected Object doInvoke(Object... args)
      Overrides:
      doInvoke in class org.springframework.context.event.ApplicationListenerMethodAdapter