Package com.sun.enterprise.v3.admin
Class JobCleanUpService
- java.lang.Object
-
- com.sun.enterprise.v3.admin.JobCleanUpService
-
- All Implemented Interfaces:
org.glassfish.hk2.api.PostConstruct
,ConfigListener
@Service(name="job-cleanup") @RunLevel(10) public class JobCleanUpService extends Object implements org.glassfish.hk2.api.PostConstruct, ConfigListener
This is an hk2 service which will clear all expired and inactive jobs- Author:
- Bhakti Mehta
-
-
Constructor Summary
Constructors Constructor Description JobCleanUpService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UnprocessedChangeEvents
changed(PropertyChangeEvent[] events)
This method is notified for any changes in job-inactivity-limit or job-retention-period or persist, initial-delay or poll-interval option in ManagedJobConfig.void
postConstruct()
-
-
-
Method Detail
-
postConstruct
public void postConstruct()
- Specified by:
postConstruct
in interfaceorg.glassfish.hk2.api.PostConstruct
-
changed
public UnprocessedChangeEvents changed(PropertyChangeEvent[] events)
This method is notified for any changes in job-inactivity-limit or job-retention-period or persist, initial-delay or poll-interval option in ManagedJobConfig. Any change results in the job cleanup service to change the behaviour being updated.- Specified by:
changed
in interfaceConfigListener
- Parameters:
events
- the configuration change events.- Returns:
- the unprocessed change events.
-
-