GigaSpaces XAP 7.0 API

org.openspaces.events.support
Class EventContainersBus

java.lang.Object
  extended by org.openspaces.events.support.EventContainersBus
All Implemented Interfaces:
ServiceDetailsProvider, ServiceMonitorsProvider, DisposableBean

public class EventContainersBus
extends Object
implements DisposableBean, ServiceDetailsProvider, ServiceMonitorsProvider

Holds dynamically generated event containers.

Author:
kimchy

Field Summary
static String SUFFIX
           
 
Constructor Summary
EventContainersBus()
           
 
Method Summary
 void destroy()
           
 AbstractEventListenerContainer getEventContainer(String name)
           
 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 registerContainer(String name, AbstractEventListenerContainer container)
           
 boolean unregisterContainer(String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SUFFIX

public static final String SUFFIX
See Also:
Constant Field Values
Constructor Detail

EventContainersBus

public EventContainersBus()
Method Detail

registerContainer

public void registerContainer(String name,
                              AbstractEventListenerContainer container)

unregisterContainer

public boolean unregisterContainer(String name)

getEventContainer

public AbstractEventListenerContainer getEventContainer(String name)

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

destroy

public void destroy()
             throws Exception
Specified by:
destroy in interface DisposableBean
Throws:
Exception

GigaSpaces XAP 7.0 API

Copyright © GigaSpaces.