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, scheduledExecutionTime
private static final long _DEFAULT_PERIOD
protected ServiceManager _manager
protected Configuration _configuration
public PurgeContentsScheduler()
public void service(ServiceManager manager) throws ServiceException
service
in interface Serviceable
ServiceException
public void contextualize(Context context) throws ContextException
contextualize
in interface Contextualizable
ContextException
public void configure(Configuration configuration) throws ConfigurationException
configure
in interface Configurable
ConfigurationException
public void enableLogging(Logger logger)
enableLogging
in interface LogEnabled
public void initialize() throws Exception
initialize
in interface Initializable
Exception
public void dispose()
dispose
in interface Disposable