|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.turbine.modules.GenericLoader<ScheduledJob>
org.apache.turbine.modules.ScheduledJobLoader
public class ScheduledJobLoader
ScheduledJobs loader class.
Field Summary |
---|
Fields inherited from class org.apache.turbine.modules.GenericLoader |
---|
ab |
Method Summary | |
---|---|
void |
exec(JobEntry job,
String name)
Attempts to load and execute the external ScheduledJob. |
void |
exec(RunData data,
String name)
Attempts to load and execute the external ScheduledJob. |
ScheduledJob |
getAssembler(String name)
Pulls out an instance of the object by name. |
int |
getCacheSize()
Get the size of a possibly configured cache |
static ScheduledJobLoader |
getInstance()
The method through which this class is accessed. |
Methods inherited from class org.apache.turbine.modules.GenericLoader |
---|
exec, getAssembler, getBasePackage, getPackages, reload, setReload |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public void exec(JobEntry job, String name) throws Exception
job
- The JobEntry.name
- Name of object that will execute the job.
Exception
- a generic exception.public void exec(RunData data, String name) throws Exception
exec
in class GenericLoader<ScheduledJob>
data
- Turbine information.name
- Name of object that will execute the job.
Exception
- a generic exception.public ScheduledJob getAssembler(String name) throws Exception
getAssembler
in interface Loader<ScheduledJob>
name
- Name of object instance.
Exception
- a generic exception.public int getCacheSize()
Loader
getCacheSize
in interface Loader<ScheduledJob>
Loader.getCacheSize()
public static ScheduledJobLoader getInstance()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |