public class ArchiveContentsScheduler 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.
|
protected Logger |
_logger
The logger.
|
protected ServiceManager |
_manager
The service manager.
|
protected Timer |
_timer
The timer.
|
Constructor and Description |
---|
ArchiveContentsScheduler() |
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
protected ServiceManager _manager
protected Configuration _configuration
public ArchiveContentsScheduler()
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