org.openspaces.esb.mule.pu
Class OpenSpacesMuleContextLoader
java.lang.Object
org.openspaces.esb.mule.pu.OpenSpacesMuleContextLoader
- All Implemented Interfaces:
- EventListener, DisposableBean, InitializingBean, ApplicationContextAware, ApplicationListener
public class OpenSpacesMuleContextLoader
- extends Object
- implements ApplicationContextAware, InitializingBean, DisposableBean, ApplicationListener
OpenSpacesMuleContextLoader
used for loading Mule configuration that refrenced from PU configuration
file.
It sets the PU appliction context as the parent of Mule appliction context, giving it the ability to access beans
that declerd in the PU appliction context.
- Author:
- yitzhaki
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OpenSpacesMuleContextLoader
public OpenSpacesMuleContextLoader()
setLocation
public void setLocation(String location)
setApplicationContext
public void setApplicationContext(ApplicationContext applicationContext)
throws BeansException
- Specified by:
setApplicationContext
in interface ApplicationContextAware
- Throws:
BeansException
afterPropertiesSet
public void afterPropertiesSet()
throws Exception
- Specified by:
afterPropertiesSet
in interface InitializingBean
- Throws:
Exception
onApplicationEvent
public void onApplicationEvent(ApplicationEvent event)
- Specified by:
onApplicationEvent
in interface ApplicationListener
destroy
public void destroy()
throws Exception
- Specified by:
destroy
in interface DisposableBean
- Throws:
Exception
Copyright © GigaSpaces.