org.hippoecm.hst.site.container
Class ApplicationEventMethodsInvoker
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ApplicationEventMethodsInvoker
public ApplicationEventMethodsInvoker(Map<Class<? extends org.springframework.context.ApplicationEvent>,List<org.springframework.util.MethodInvoker>> eventTypeMethodInvokersMap)
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.