Class ReplicationChannelDisconnectedAlertBean

java.lang.Object
org.openspaces.admin.internal.alert.bean.ReplicationChannelDisconnectedAlertBean
All Implemented Interfaces:
AlertBean, ReplicationStatusChangedEventListener, SpaceInstanceRemovedEventListener, Bean

public class ReplicationChannelDisconnectedAlertBean extends Object implements AlertBean, ReplicationStatusChangedEventListener, SpaceInstanceRemovedEventListener
  • Field Details

  • Constructor Details

    • ReplicationChannelDisconnectedAlertBean

      public ReplicationChannelDisconnectedAlertBean()
  • 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.
    • spaceInstanceRemoved

      public void spaceInstanceRemoved(SpaceInstance spaceInstance)
      Description copied from interface: SpaceInstanceRemovedEventListener
      A callback indicating that a Space Instance was removed.
      Specified by:
      spaceInstanceRemoved in interface SpaceInstanceRemovedEventListener
    • replicationStatusChanged

      public void replicationStatusChanged(ReplicationStatusChangedEvent event)
      Description copied from interface: ReplicationStatusChangedEventListener
      Callback indicating that a replication status changed event has occured.
      Specified by:
      replicationStatusChanged in interface ReplicationStatusChangedEventListener