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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidInvoked by a bean factory after it has set all bean properties.voiddestroy()Invoked by a bean factory on destruction of a singleton.voidSet the Admin instance to be used by this Bean.voidsetProperties(Map<String, String> properties) The bean properties supplied using a client side bean configuration object, or by plain String key-value pairs.voidspaceInstanceAdded(SpaceInstance spaceInstance) A callback indicating that a Space Instance was added.voidCallback indicating that a space mode changed event has occured.voidspaceRemoved(Space space) A callback indicating that a Space was removed.
-
Field Details
-
beanUID
- See Also:
-
ALERT_NAME
- See Also:
-
-
Constructor Details
-
SpacePartitionSplitBrainAlertBean
public SpacePartitionSplitBrainAlertBean()
-
-
Method Details
-
afterPropertiesSet
Description copied from interface:BeanInvoked 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:
afterPropertiesSetin interfaceBean- Throws:
Exception- in the event of misconfiguration (such as failure to set an essential property) or if initialization fails.- See Also:
-
destroy
Description copied from interface:BeanInvoked by a bean factory on destruction of a singleton. -
getProperties
- Specified by:
getPropertiesin interfaceBean- Returns:
- properties used to configure this bean.
-
setAdmin
Description copied from interface:BeanSet the Admin instance to be used by this Bean. -
setProperties
Description copied from interface:BeanThe bean properties supplied using a client side bean configuration object, or by plain String key-value pairs.- Specified by:
setPropertiesin interfaceBean- Parameters:
properties- properties to configure this bean.
-
spaceInstanceAdded
Description copied from interface:SpaceInstanceAddedEventListenerA callback indicating that a Space Instance was added.- Specified by:
spaceInstanceAddedin interfaceSpaceInstanceAddedEventListener
-
spaceModeChanged
Description copied from interface:SpaceModeChangedEventListenerCallback indicating that a space mode changed event has occured.- Specified by:
spaceModeChangedin interfaceSpaceModeChangedEventListener
-
spaceRemoved
Description copied from interface:SpaceRemovedEventListenerA callback indicating that a Space was removed.- Specified by:
spaceRemovedin interfaceSpaceRemovedEventListener
-