public abstract class JobClassInterceptor extends SPI
Implement the JobClassInterceptor SPI, by extending this class and implementing the classifyJob method.
Configure this SPI with the following custom job scheduler property:
com.ibm.wsspi.batch.job.class.interceptor=<fully-qualified implementation class name>
<WAS install root>/lib/classes. E.g. /WebSphere/AppServer/lib/classes
Constructor and Description |
---|
JobClassInterceptor() |
Modifier and Type | Method and Description |
---|---|
abstract java.lang.String |
classifyJob(java.lang.String jobName,
java.lang.String submitter,
java.lang.String jobClass) |
java.lang.String |
getName()
Returns the name of this SPI instance.
|
compareTo, getInvocationOrder, setInvocationOrder, toString
public abstract java.lang.String classifyJob(java.lang.String jobName, java.lang.String submitter, java.lang.String jobClass)
jobName
- The XJCL name of the job as specified in the name attribute of the job element.submitter
- The job submitterjobClass
- The current job associated with the job.