| org.apache.turbine.modules.GenericLoader org.apache.turbine.modules.ScheduledJobLoader
Method Summary | |
public void | exec(JobEntry job, String name) Attempts to load and execute the external ScheduledJob. | public void | exec(RunData data, String name) Attempts to load and execute the external ScheduledJob.
HELP! - THIS IS UGLY!
I want the cache stuff from GenericLoader, BUT, I don't think
the scheduler needs the Rundata object. | public ScheduledJob | getInstance(String name) Pulls out an instance of the object by name. | public static ScheduledJobLoader | getInstance() The method through which this class is accessed. |
exec | public void exec(JobEntry job, String name) throws Exception(Code) | | Attempts to load and execute the external ScheduledJob.
Parameters: job - The JobEntry. Parameters: name - Name of object that will execute the job. exception: Exception - a generic exception. |
exec | public void exec(RunData data, String name) throws Exception(Code) | | Attempts to load and execute the external ScheduledJob.
HELP! - THIS IS UGLY!
I want the cache stuff from GenericLoader, BUT, I don't think
the scheduler needs the Rundata object. The scheduler runs
independently of an HTTP request. This should not extend
GenericLoader! Thoughts??
Parameters: data - Turbine information. Parameters: name - Name of object that will execute the job. exception: Exception - a generic exception. |
getInstance | public ScheduledJob getInstance(String name) throws Exception(Code) | | Pulls out an instance of the object by name. Name is just the
single name of the object.
Parameters: name - Name of object instance. An ScheduledJob with the specified name, or null. exception: Exception - a generic exception. |
getInstance | public static ScheduledJobLoader getInstance()(Code) | | The method through which this class is accessed.
The single instance of this class. |
|
|