This project has retired. For details please refer to its Attic page.

org.apache.lenya.cms.scheduler
Class ServletJobFactory

java.lang.Object
  extended by org.apache.lenya.cms.scheduler.ServletJobFactory

public final class ServletJobFactory
extends java.lang.Object

Factory for building serlvet jobs.


Method Summary
static ServletJob createJob(java.lang.Class cl)
          Creates a job.
static ServletJob createJob(java.lang.String jobClassName)
          Creates a job.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createJob

public static ServletJob createJob(java.lang.String jobClassName)
Creates a job.

Parameters:
jobClassName - The name of the Java class used to instanciate the job object.
Returns:
A servlet job.

createJob

public static ServletJob createJob(java.lang.Class cl)
Creates a job.

Parameters:
cl - The Java class used to instanciate the job object.
Returns:
A servlet job.


Copyright © 1999-2005 Apache Software Foundation. All Rights Reserved.