@Service @RunLevel(value=20) public class AutoDeployService extends Object implements org.glassfish.hk2.api.PostConstruct, org.glassfish.hk2.api.PreDestroy, org.jvnet.hk2.config.ConfigListener
The module system will start this service during GlassFish start-up. In turn it will start the actual autodeployer to run periodically.
Note that some values used by the service are known when the class is first started. Others can be configured dynamically. The first type are initialized during postConstruct. The others will trigger the delivery of config change events to which we respond and, as needed, stop or reschedule the timer task.
| Modifier and Type | Field and Description |
|---|---|
static Logger |
deplLogger |
| Constructor and Description |
|---|
AutoDeployService() |
| Modifier and Type | Method and Description |
|---|---|
org.jvnet.hk2.config.UnprocessedChangeEvents |
changed(PropertyChangeEvent[] events) |
void |
postConstruct() |
void |
preDestroy() |
public static Logger deplLogger
public void postConstruct()
postConstruct in interface org.glassfish.hk2.api.PostConstructpublic void preDestroy()
preDestroy in interface org.glassfish.hk2.api.PreDestroypublic org.jvnet.hk2.config.UnprocessedChangeEvents changed(PropertyChangeEvent[] events)
changed in interface org.jvnet.hk2.config.ConfigListenerCopyright © 2019. All rights reserved.