com.netscape.certsrv.jobs
Class JobPlugin

java.lang.Object
  extended by com.netscape.certsrv.jobs.JobPlugin

public class JobPlugin
extends java.lang.Object

This class represents a job plugin registered with the JobScheduler. A Job plugin can be instantiated into a Job instance and scheduled by the JobScheduler to run at a scheduled interval

Version:
$Revision: 1211 $, $Date: 2010-08-18 10:15:37 -0700 (Wed, 18 Aug 2010) $

Field Summary
protected  java.lang.String mClassPath
          The Java class name of this job plugin.
protected  java.lang.String mId
          The plugin name of this job
 
Constructor Summary
JobPlugin(java.lang.String id, java.lang.String classPath)
          Constructor for a Job plugin.
 
Method Summary
 java.lang.String getClassPath()
          get the Java class name
 java.lang.String getId()
          get the job plugin name
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mId

protected java.lang.String mId
The plugin name of this job


mClassPath

protected java.lang.String mClassPath
The Java class name of this job plugin. e.g. com.netscape.cms.RenewalNotificationJob

Constructor Detail

JobPlugin

public JobPlugin(java.lang.String id,
                 java.lang.String classPath)
Constructor for a Job plugin.

Parameters:
id - job plugin name
classPath - the Java class name of this job plugin
Method Detail

getId

public java.lang.String getId()
get the job plugin name

Returns:
the name of this job plugin

getClassPath

public java.lang.String getClassPath()
get the Java class name

Returns:
the Java class name of this plugin