GigaSpaces XAP 9.7.2 API

org.openspaces.events.support
Class EventContainersBus

java.lang.Object
  extended by org.openspaces.events.support.EventContainersBus
All Implemented Interfaces:
com.gigaspaces.internal.dump.InternalDumpProcessor, ServiceDetailsProvider, ServiceMonitorsProvider, DisposableBean

public class EventContainersBus
extends Object
implements DisposableBean, ServiceDetailsProvider, ServiceMonitorsProvider, com.gigaspaces.internal.dump.InternalDumpProcessor

Holds dynamically generated event containers.

Author:
kimchy

Field Summary
static String SUFFIX
           
 
Constructor Summary
EventContainersBus()
           
 
Method Summary
 void destroy()
           
 AbstractEventListenerContainer getEventContainer(String name)
           
 Collection<AbstractEventListenerContainer> getEventContainers()
           
 String getName()
           
 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 process(com.gigaspaces.internal.dump.InternalDump dump)
           
 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)

getEventContainers

public Collection<AbstractEventListenerContainer> getEventContainers()

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

getName

public String getName()
Specified by:
getName in interface com.gigaspaces.internal.dump.InternalDumpProcessor

process

public void process(com.gigaspaces.internal.dump.InternalDump dump)
             throws com.gigaspaces.internal.dump.InternalDumpProcessorFailedException
Specified by:
process in interface com.gigaspaces.internal.dump.InternalDumpProcessor
Throws:
com.gigaspaces.internal.dump.InternalDumpProcessorFailedException

destroy

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

GigaSpaces XAP 9.7.2 API

Copyright © GigaSpaces.