public class PurgeContentsScheduler extends TimerTask implements Initializable, LogEnabled, Serviceable, Disposable, Contextualizable, Configurable
| Modifier and Type | Field and Description |
|---|---|
protected Configuration |
_configuration
The component configuration.
|
protected Context |
_context
The avalon context.
|
private static long |
_DEFAULT_PERIOD
The default period, in days.
|
protected Logger |
_logger
The logger.
|
protected ServiceManager |
_manager
The service manager.
|
protected Timer |
_timer
The timer.
|
| Constructor and Description |
|---|
PurgeContentsScheduler() |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(Configuration configuration) |
void |
contextualize(Context context) |
void |
dispose() |
void |
enableLogging(Logger logger) |
void |
initialize() |
void |
run() |
void |
service(ServiceManager manager) |
cancel, scheduledExecutionTimeprivate static final long _DEFAULT_PERIOD
protected ServiceManager _manager
protected Configuration _configuration
public PurgeContentsScheduler()
public void service(ServiceManager manager) throws ServiceException
service in interface ServiceableServiceExceptionpublic void contextualize(Context context) throws ContextException
contextualize in interface ContextualizableContextExceptionpublic void configure(Configuration configuration) throws ConfigurationException
configure in interface ConfigurableConfigurationExceptionpublic void enableLogging(Logger logger)
enableLogging in interface LogEnabledpublic void initialize() throws Exception
initialize in interface InitializableExceptionpublic void dispose()
dispose in interface Disposable