Class ProvisionFailureAlertBean
java.lang.Object
org.openspaces.admin.internal.alert.bean.ProvisionFailureAlertBean
- All Implemented Interfaces:
AdminEventListener,AlertBean,ProcessingUnitInstanceProvisionStatusChangedEventListener,ProcessingUnitRemovedEventListener,ProcessingUnitStatusChangedEventListener,Bean
public class ProvisionFailureAlertBean
extends Object
implements AlertBean, ProcessingUnitStatusChangedEventListener, ProcessingUnitRemovedEventListener, ProcessingUnitInstanceProvisionStatusChangedEventListener
-
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.voidprocessingUnitInstanceProvisionStatusChanged(ProcessingUnitInstanceProvisionStatusChangedEvent event) A callback indicating the provision status has changed.voidprocessingUnitRemoved(ProcessingUnit processingUnit) A callback indicating that a Processing Unit was removed (undeployed).voidCallback indicating that a deployment status of a Processing Unit was changed.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.
-
Field Details
-
beanUID
- See Also:
-
ALERT_NAME
- See Also:
-
-
Constructor Details
-
ProvisionFailureAlertBean
public ProvisionFailureAlertBean()
-
-
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.
-
processingUnitRemoved
Description copied from interface:ProcessingUnitRemovedEventListenerA callback indicating that a Processing Unit was removed (undeployed).- Specified by:
processingUnitRemovedin interfaceProcessingUnitRemovedEventListener
-
processingUnitStatusChanged
Description copied from interface:ProcessingUnitStatusChangedEventListenerCallback indicating that a deployment status of a Processing Unit was changed.- Specified by:
processingUnitStatusChangedin interfaceProcessingUnitStatusChangedEventListener
-
processingUnitInstanceProvisionStatusChanged
public void processingUnitInstanceProvisionStatusChanged(ProcessingUnitInstanceProvisionStatusChangedEvent event) Description copied from interface:ProcessingUnitInstanceProvisionStatusChangedEventListenerA callback indicating the provision status has changed.- Specified by:
processingUnitInstanceProvisionStatusChangedin interfaceProcessingUnitInstanceProvisionStatusChangedEventListener
-