public class SpacePartitionSplitBrainAlertBean extends Object implements AlertBean, SpaceInstanceAddedEventListener, SpaceRemovedEventListener, SpaceModeChangedEventListener
| Modifier and Type | Field and Description |
|---|---|
static String |
ALERT_NAME |
static String |
beanUID |
| Constructor and Description |
|---|
SpacePartitionSplitBrainAlertBean() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet()
Invoked by a bean factory after it has set all bean properties.
|
void |
destroy()
Invoked by a bean factory on destruction of a singleton.
|
Map<String,String> |
getProperties() |
void |
setAdmin(Admin admin)
Set the Admin instance to be used by this Bean.
|
void |
setProperties(Map<String,String> properties)
The bean properties supplied using a client side bean configuration object, or by plain
String key-value pairs.
|
void |
spaceInstanceAdded(SpaceInstance spaceInstance)
A callback indicating that a Space Instance was added.
|
void |
spaceModeChanged(SpaceModeChangedEvent event)
Callback indicating that a space mode changed event has occured.
|
void |
spaceRemoved(Space space)
A callback indicating that a Space was removed.
|
public static final String beanUID
public static final String ALERT_NAME
public void afterPropertiesSet()
throws Exception
BeanafterPropertiesSet in interface BeanException - in the event of misconfiguration (such as failure to set an essential
property) or if initialization fails.BeanConfigurationException,
BeanInitializationExceptionpublic void destroy()
throws Exception
Beandestroy in interface BeanException - in case of shutdown errors. Exceptions will get logged but not re-thrown to
allow other beans to release their resources too.BeanConfigExceptionpublic Map<String,String> getProperties()
getProperties in interface Beanpublic void setAdmin(Admin admin)
Beanpublic void setProperties(Map<String,String> properties)
BeansetProperties in interface Beanproperties - properties to configure this bean.public void spaceInstanceAdded(SpaceInstance spaceInstance)
SpaceInstanceAddedEventListenerspaceInstanceAdded in interface SpaceInstanceAddedEventListenerpublic void spaceModeChanged(SpaceModeChangedEvent event)
SpaceModeChangedEventListenerspaceModeChanged in interface SpaceModeChangedEventListenerpublic void spaceRemoved(Space space)
SpaceRemovedEventListenerspaceRemoved in interface SpaceRemovedEventListenerCopyright © GigaSpaces.