Package com.sun.enterprise.v3.server
Class DynamicReloadService
- java.lang.Object
-
- com.sun.enterprise.v3.server.DynamicReloadService
-
- All Implemented Interfaces:
org.glassfish.hk2.api.PostConstruct
,org.glassfish.hk2.api.PreDestroy
,ConfigListener
@Service @RunLevel(20) public class DynamicReloadService extends Object implements ConfigListener, org.glassfish.hk2.api.PostConstruct, org.glassfish.hk2.api.PreDestroy
A service wrapper around the dynamic reload processor.The module system will start this service during GlassFish start-up. In turn it will start the actual reload logic to run periodically.
- Author:
- tjquinn
-
-
Constructor Summary
Constructors Constructor Description DynamicReloadService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UnprocessedChangeEvents
changed(PropertyChangeEvent[] events)
Notification that @Configured objects that were injected have changedvoid
postConstruct()
void
preDestroy()
-
-
-
Method Detail
-
postConstruct
public void postConstruct()
- Specified by:
postConstruct
in interfaceorg.glassfish.hk2.api.PostConstruct
-
preDestroy
public void preDestroy()
- Specified by:
preDestroy
in interfaceorg.glassfish.hk2.api.PreDestroy
-
changed
public UnprocessedChangeEvents changed(PropertyChangeEvent[] events)
Description copied from interface:ConfigListener
Notification that @Configured objects that were injected have changed- Specified by:
changed
in interfaceConfigListener
- Parameters:
events
- list of changes- Returns:
- the list of unprocessed events (requiring a restart) or null if all reconfiguration was processed successfully
-
-