@Service @RunLevel(value=20) public class DynamicReloadService extends Object implements ConfigListener, org.glassfish.hk2.api.PostConstruct, org.glassfish.hk2.api.PreDestroy
The module system will start this service during GlassFish start-up. In turn it will start the actual reload logic to run periodically.
| Constructor and Description |
|---|
DynamicReloadService() |
| Modifier and Type | Method and Description |
|---|---|
UnprocessedChangeEvents |
changed(PropertyChangeEvent[] events)
Notification that @Configured objects that were injected have changed
|
void |
postConstruct() |
void |
preDestroy() |
public void postConstruct()
postConstruct in interface org.glassfish.hk2.api.PostConstructpublic void preDestroy()
preDestroy in interface org.glassfish.hk2.api.PreDestroypublic UnprocessedChangeEvents changed(PropertyChangeEvent[] events)
ConfigListenerchanged in interface ConfigListenerevents - list of changesCopyright © 2019. All rights reserved.