Package org.apache.fulcrum.quartz.test
Class NotSoSimpleJob
- java.lang.Object
-
- org.apache.fulcrum.quartz.test.NotSoSimpleJob
-
- All Implemented Interfaces:
org.apache.avalon.framework.service.Serviceable
,org.quartz.Job
public class NotSoSimpleJob extends Object implements org.quartz.Job, org.apache.avalon.framework.service.Serviceable
- Author:
- Leandro Rodrigo Saad Cruz
-
-
Field Summary
Fields Modifier and Type Field Description static boolean
wasExecuted
static boolean
wasServiced
-
Constructor Summary
Constructors Constructor Description NotSoSimpleJob()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute(org.quartz.JobExecutionContext context)
static void
reset()
void
service(org.apache.avalon.framework.service.ServiceManager manager)
This method is called by ComposableJobListenerWrapper.jobToBeExecuted
-
-
-
Field Detail
-
wasExecuted
public static boolean wasExecuted
-
wasServiced
public static boolean wasServiced
-
-
Constructor Detail
-
NotSoSimpleJob
public NotSoSimpleJob()
-
-
Method Detail
-
execute
public void execute(org.quartz.JobExecutionContext context) throws org.quartz.JobExecutionException
- Specified by:
execute
in interfaceorg.quartz.Job
- Throws:
org.quartz.JobExecutionException
- See Also:
Job.execute(org.quartz.JobExecutionContext)
-
service
public void service(org.apache.avalon.framework.service.ServiceManager manager) throws org.apache.avalon.framework.service.ServiceException
This method is called by ComposableJobListenerWrapper.jobToBeExecuted- Specified by:
service
in interfaceorg.apache.avalon.framework.service.Serviceable
- Throws:
org.apache.avalon.framework.service.ServiceException
- See Also:
Composable.compose(org.apache.avalon.framework.component.ComponentManager)
-
reset
public static void reset()
-
-