org.openspaces.esb.mule.pu
Class OpenSpacesMuleContextLoader
java.lang.Object
org.openspaces.esb.mule.pu.OpenSpacesMuleContextLoader
- All Implemented Interfaces:
- EventListener, ServiceDetailsProvider, ServiceMonitorsProvider, DisposableBean, InitializingBean, ApplicationContextAware, ApplicationListener
public class OpenSpacesMuleContextLoader
- extends Object
- implements ApplicationContextAware, InitializingBean, DisposableBean, ApplicationListener, ServiceDetailsProvider, ServiceMonitorsProvider
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
getServicesDetails
public ServiceDetails[] getServicesDetails()
- Description copied from interface:
ServiceDetailsProvider
- Retruns one or more service details that the service exposes.
- Specified by:
getServicesDetails
in interface ServiceDetailsProvider
getServicesMonitors
public ServiceMonitors[] getServicesMonitors()
- Description copied from interface:
ServiceMonitorsProvider
- Retruns one or more service details that the service exposes.
- Specified by:
getServicesMonitors
in interface ServiceMonitorsProvider
Copyright © GigaSpaces.