org.apache.cocoon.components.source.impl
Class UpdateTarget

java.lang.Object
  extended byorg.apache.avalon.framework.logger.AbstractLogEnabled
      extended byorg.apache.cocoon.components.source.impl.UpdateTarget
All Implemented Interfaces:
ConfigurableCronJob, CronJob, LogEnabled, Serviceable

public class UpdateTarget
extends AbstractLogEnabled
implements Serviceable, ConfigurableCronJob

A target updating a cache entry. This target requires several parameters:

Since:
2.1.1
Version:
CVS $Id: UpdateTarget.java 30941 2004-07-29 19:56:58Z vgritsenko $

Field Summary
 
Fields inherited from interface org.apache.cocoon.components.cron.CronJob
ROLE
 
Constructor Summary
UpdateTarget()
           
 
Method Summary
 void execute(String name)
          This methods get called to allow an implementing class to do its supposed job
 void service(ServiceManager manager)
           
 void setup(Parameters pars, Map objects)
          Setup CronJob with additional information first
 
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UpdateTarget

public UpdateTarget()
Method Detail

service

public void service(ServiceManager manager)
             throws ServiceException
Specified by:
service in interface Serviceable
Throws:
ServiceException

setup

public void setup(Parameters pars,
                  Map objects)
Description copied from interface: ConfigurableCronJob
Setup CronJob with additional information first

Specified by:
setup in interface ConfigurableCronJob
Parameters:
pars - Any Parameters
objects - Some additional Objects

execute

public void execute(String name)
Description copied from interface: CronJob
This methods get called to allow an implementing class to do its supposed job

Specified by:
execute in interface CronJob
Parameters:
name - the name given to this job


Copyright ? 1999-2005 The Apache Software Foundation. All Rights Reserved.