Class SpacePartitionSplitBrainAlertBean

java.lang.Object
org.openspaces.admin.internal.alert.bean.SpacePartitionSplitBrainAlertBean
All Implemented Interfaces:
AlertBean, SpaceInstanceAddedEventListener, SpaceModeChangedEventListener, SpaceRemovedEventListener, Bean

public class SpacePartitionSplitBrainAlertBean extends Object implements AlertBean, SpaceInstanceAddedEventListener, SpaceRemovedEventListener, SpaceModeChangedEventListener
  • Field Details

  • Constructor Details

    • SpacePartitionSplitBrainAlertBean

      public SpacePartitionSplitBrainAlertBean()
  • Method Details

    • afterPropertiesSet

      public void afterPropertiesSet() throws Exception
      Description copied from interface: Bean
      Invoked by a bean factory after it has set all bean properties. This method allows the bean instance to perform non-blocking initialization, which is only possible when all bean properties have been set and to throw an exception in the event of misconfiguration.
      Specified by:
      afterPropertiesSet in interface Bean
      Throws:
      Exception - in the event of misconfiguration (such as failure to set an essential property) or if initialization fails.
      See Also:
    • destroy

      public void destroy() throws Exception
      Description copied from interface: Bean
      Invoked by a bean factory on destruction of a singleton.
      Specified by:
      destroy in interface Bean
      Throws:
      Exception - in case of shutdown errors. Exceptions will get logged but not re-thrown to allow other beans to release their resources too.
      See Also:
    • getProperties

      public Map<String,String> getProperties()
      Specified by:
      getProperties in interface Bean
      Returns:
      properties used to configure this bean.
    • setAdmin

      public void setAdmin(Admin admin)
      Description copied from interface: Bean
      Set the Admin instance to be used by this Bean.
      Specified by:
      setAdmin in interface Bean
      Parameters:
      admin - an Admin instance.
    • setProperties

      public void setProperties(Map<String,String> properties)
      Description copied from interface: Bean
      The bean properties supplied using a client side bean configuration object, or by plain String key-value pairs.
      Specified by:
      setProperties in interface Bean
      Parameters:
      properties - properties to configure this bean.
    • spaceInstanceAdded

      public void spaceInstanceAdded(SpaceInstance spaceInstance)
      Description copied from interface: SpaceInstanceAddedEventListener
      A callback indicating that a Space Instance was added.
      Specified by:
      spaceInstanceAdded in interface SpaceInstanceAddedEventListener
    • spaceModeChanged

      public void spaceModeChanged(SpaceModeChangedEvent event)
      Description copied from interface: SpaceModeChangedEventListener
      Callback indicating that a space mode changed event has occured.
      Specified by:
      spaceModeChanged in interface SpaceModeChangedEventListener
    • spaceRemoved

      public void spaceRemoved(Space space)
      Description copied from interface: SpaceRemovedEventListener
      A callback indicating that a Space was removed.
      Specified by:
      spaceRemoved in interface SpaceRemovedEventListener