Class AutoDeployService
- java.lang.Object
-
- org.glassfish.deployment.autodeploy.AutoDeployService
-
- All Implemented Interfaces:
org.glassfish.hk2.api.PostConstruct,org.glassfish.hk2.api.PreDestroy,org.jvnet.hk2.config.ConfigListener
@Service @RunLevel(20) public class AutoDeployService extends Object implements org.glassfish.hk2.api.PostConstruct, org.glassfish.hk2.api.PreDestroy, org.jvnet.hk2.config.ConfigListener
A service wrapper around the autodeployer.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.
- Author:
- tjquinn
-
-
Field Summary
Fields Modifier and Type Field Description static LoggerdeplLogger
-
Constructor Summary
Constructors Constructor Description AutoDeployService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.jvnet.hk2.config.UnprocessedChangeEventschanged(PropertyChangeEvent[] events)voidpostConstruct()voidpreDestroy()
-
-
-
Field Detail
-
deplLogger
public static Logger deplLogger
-
-
Method Detail
-
postConstruct
public void postConstruct()
- Specified by:
postConstructin interfaceorg.glassfish.hk2.api.PostConstruct
-
preDestroy
public void preDestroy()
- Specified by:
preDestroyin interfaceorg.glassfish.hk2.api.PreDestroy
-
changed
public org.jvnet.hk2.config.UnprocessedChangeEvents changed(PropertyChangeEvent[] events)
- Specified by:
changedin interfaceorg.jvnet.hk2.config.ConfigListener
-
-