@Service(name="payara-monitoring") @RunLevel(value=10) public class MonitoringService extends Object implements EventListener
EventListener.Event<T>| Constructor and Description |
|---|
MonitoringService() |
| Modifier and Type | Method and Description |
|---|---|
void |
bootstrapMonitoringService()
Bootstraps the monitoring service.
|
void |
bootstrapNotifierList()
Starts notifiers that are enabled with the monitoring service
|
void |
event(EventListener.Event event)
Process a Glassfish/Payara event
|
List<NotifierExecutionOptions> |
getNotifierExecutionOptionsList()
Returns the configuration of all the notifiers configured with the monitoring service
|
void |
postConstruct() |
void |
setEnabled(Boolean enabled)
Sets the service to be enabled/disabled.
|
@PostConstruct public void postConstruct() throws NamingException
NamingExceptionpublic void event(EventListener.Event event)
EventListenerevent in interface EventListenerpublic void bootstrapMonitoringService()
public void bootstrapNotifierList()
public List<NotifierExecutionOptions> getNotifierExecutionOptionsList()
public void setEnabled(Boolean enabled)
enabled - If true will reboot the monitoring serviceCopyright © 2017. All rights reserved.