org.apache.cocoon.components.cron .ServiceableCronJob org.apache.lenya.cms.usecase.scheduling.impl .UsecaseCronJob UsecaseCronJob public class UsecaseCronJob extends ServiceableCronJob implements ConfigurableCronJob ,Contextualizable(Code) Job to schedule usecase execution.
version: $Id: UsecaseCronJob.java 535152 2007-05-04 10:14:41Z andreas $
USECASE_NAME final protected static String USECASE_NAME (Code)
authorizeRequest protected void authorizeRequest() throws AccessControlException , ServiceException(Code) Initializes the session with the access control information.
throws: AccessControlException - if an error occurs.throws: ServiceException - if the access controller resolver could not be created.
contextualize public void contextualize(Context context) throws ContextException(Code) See Also: org.apache.avalon.framework.context.Contextualizable.contextualize(org.apache.avalon.framework.context.Context)
getParameters protected Map getParameters()(Code)
getUsecaseName public String getUsecaseName()(Code) The name of the usecase to execute.
getUserId public String getUserId()(Code) The ID of the user who scheduled the job.
setup public void setup(Usecase usecase)(Code) Initializes the job.
Parameters: usecase - The usecase.
setupOriginalRequest protected void setupOriginalRequest()(Code) Creates a new request object based on the information from the original request which
triggered the usecase.
Fields inherited from org.apache.cocoon.components.cron.ServiceableCronJob protected ServiceManager manager(Code) (Java Doc)
Methods inherited from org.apache.cocoon.components.cron.ServiceableCronJob public void service(ServiceManager manager) throws ServiceException(Code) (Java Doc)