@Deprecated public abstract class AbstractElasticProcessingUnitAlertBean extends Object implements AlertBean
Constructor and Description |
---|
AbstractElasticProcessingUnitAlertBean()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet()
Deprecated.
Invoked by a bean factory after it has set all bean properties.
|
protected Alert |
createRaisedAlert(ElasticProcessingUnitFailureEvent event)
Deprecated.
|
protected Alert[] |
createResolvedAlerts(ElasticProcessingUnitProgressChangedEvent event)
Deprecated.
|
void |
destroy()
Deprecated.
Invoked by a bean factory on destruction of a singleton.
|
Map<String,String> |
getProperties()
Deprecated.
|
void |
raiseAlert(Alert alert)
Deprecated.
|
void |
setAdmin(Admin admin)
Deprecated.
Set the Admin instance to be used by this Bean.
|
void |
setAlertName(String alertName)
Deprecated.
|
void |
setAlertSeverity(AlertSeverity alertSeverity)
Deprecated.
|
void |
setBeanUid(String beanUid)
Deprecated.
|
void |
setProperties(Map<String,String> properties)
Deprecated.
The bean properties supplied using a client side bean configuration object, or by plain
String key-value pairs.
|
void |
setResolvedAlertDescriptionFormat(String resolvedAlertDescriptionFormat)
Deprecated.
|
public AbstractElasticProcessingUnitAlertBean()
public void setBeanUid(String beanUid)
public void setAlertSeverity(AlertSeverity alertSeverity)
public void setAlertName(String alertName)
public void setResolvedAlertDescriptionFormat(String resolvedAlertDescriptionFormat)
public void setAdmin(Admin admin)
Bean
public void setProperties(Map<String,String> properties)
Bean
setProperties
in interface Bean
properties
- properties to configure this bean.public Map<String,String> getProperties()
getProperties
in interface Bean
public void afterPropertiesSet() throws Exception
Bean
afterPropertiesSet
in interface Bean
Exception
- in the event of misconfiguration (such as failure to set an essential
property) or if initialization fails.BeanConfigurationException
,
BeanInitializationException
public void destroy() throws Exception
Bean
destroy
in interface Bean
Exception
- in case of shutdown errors. Exceptions will get logged but not re-thrown to
allow other beans to release their resources too.BeanConfigException
protected Alert[] createResolvedAlerts(ElasticProcessingUnitProgressChangedEvent event)
protected Alert createRaisedAlert(ElasticProcessingUnitFailureEvent event)
public void raiseAlert(Alert alert)
Copyright © GigaSpaces.