Class RestMonitoringService
- java.lang.Object
-
- fish.payara.appserver.monitoring.rest.service.RestMonitoringService
-
- All Implemented Interfaces:
ConfigListener
@Service(name="rest-monitoring") @RunLevel(20) public class RestMonitoringService extends Object implements ConfigListener
The core service for the Rest Monitoring application. Handles starting and reconfiguration of the application.- Author:
- Andrew Pielage
-
-
Field Summary
Fields Modifier and Type Field Description static String
DEFAULT_REST_MONITORING_APP_NAME
-
Constructor Summary
Constructors Constructor Description RestMonitoringService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UnprocessedChangeEvents
changed(PropertyChangeEvent[] propertyChangeEvents)
Notification that @Configured objects that were injected have changed
-
-
-
Field Detail
-
DEFAULT_REST_MONITORING_APP_NAME
public static final String DEFAULT_REST_MONITORING_APP_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
changed
public UnprocessedChangeEvents changed(PropertyChangeEvent[] propertyChangeEvents)
Description copied from interface:ConfigListener
Notification that @Configured objects that were injected have changed- Specified by:
changed
in interfaceConfigListener
- Parameters:
propertyChangeEvents
- list of changes- Returns:
- the list of unprocessed events (requiring a restart) or null if all reconfiguration was processed successfully
-
-