org.hippoecm.hst.site.container
Class ApplicationEventMethodsInvoker

java.lang.Object
  extended by org.hippoecm.hst.site.container.ApplicationEventMethodsInvoker
All Implemented Interfaces:
EventListener, org.springframework.context.ApplicationContextAware, org.springframework.context.ApplicationListener

public class ApplicationEventMethodsInvoker
extends Object
implements org.springframework.context.ApplicationListener, org.springframework.context.ApplicationContextAware

Utility callback method invoker bean which can be used to invoke custom callback methods on ApplicationEvent from the ApplicationContext.

Version:
$Id$
See Also:
ApplicationContext, ApplicationListener, ApplicationEvent

Constructor Summary
ApplicationEventMethodsInvoker(Map<Class<? extends org.springframework.context.ApplicationEvent>,List<org.springframework.util.MethodInvoker>> eventTypeMethodInvokersMap)
           
 
Method Summary
 boolean getAutoPrepareInvoker()
           
 void onApplicationEvent(org.springframework.context.ApplicationEvent event)
          
 void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
          
 void setAutoPrepareInvoker(boolean autoPrepareInvoker)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApplicationEventMethodsInvoker

public ApplicationEventMethodsInvoker(Map<Class<? extends org.springframework.context.ApplicationEvent>,List<org.springframework.util.MethodInvoker>> eventTypeMethodInvokersMap)
Method Detail

setAutoPrepareInvoker

public void setAutoPrepareInvoker(boolean autoPrepareInvoker)

getAutoPrepareInvoker

public boolean getAutoPrepareInvoker()

setApplicationContext

public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
                           throws org.springframework.beans.BeansException

Specified by:
setApplicationContext in interface org.springframework.context.ApplicationContextAware
Throws:
org.springframework.beans.BeansException

onApplicationEvent

public void onApplicationEvent(org.springframework.context.ApplicationEvent event)

Specified by:
onApplicationEvent in interface org.springframework.context.ApplicationListener


Copyright © 2008-2012 Hippo. All Rights Reserved.