GigaSpaces XAP 7.0 API

org.openspaces.esb.mule.pu
Class OpenSpacesMuleContextLoader

java.lang.Object
  extended by 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

Constructor Summary
OpenSpacesMuleContextLoader()
           
 
Method Summary
 void afterPropertiesSet()
           
 void destroy()
           
 ServiceDetails[] getServicesDetails()
          Retruns one or more service details that the service exposes.
 ServiceMonitors[] getServicesMonitors()
          Retruns one or more service details that the service exposes.
 void onApplicationEvent(ApplicationEvent event)
           
 void setApplicationContext(ApplicationContext applicationContext)
           
 void setLocation(String location)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OpenSpacesMuleContextLoader

public OpenSpacesMuleContextLoader()
Method Detail

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

GigaSpaces XAP 7.0 API

Copyright © GigaSpaces.