|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.konakartadmin.bl.ExecuteBatchEE
public class ExecuteBatchEE
This is a bridge between Quartz Jobs and the KonaKart Batch system which uses the execute interface on the KKAdminIf engine.
| Field Summary | |
|---|---|
protected static org.apache.commons.logging.Log |
log
the log |
protected static java.lang.String |
PARAM_KEY_PREFIX
|
| Constructor Summary | |
|---|---|
ExecuteBatchEE()
Constructor |
|
| Method Summary | |
|---|---|
protected int |
countParameters(org.quartz.JobDataMap jobData)
Count the parameters which are names param0, param1 etc... |
void |
execute(org.quartz.JobExecutionContext context)
Called by the when a
fires that is associated with the Job. |
protected KKAdminIf |
getAdminEngine(java.lang.String kkAdminEngineClassName,
AdminEngineConfig adEngConf)
|
protected java.lang.String |
getEngConfStr(KKAdminIf adminEng)
|
protected java.lang.String |
login(KKAdminIf adminEng,
java.lang.String user,
java.lang.String password)
Log in to the Admin Engine and return a session Id |
protected void |
logout(KKAdminIf adminEng,
java.lang.String sessId)
Logout of the Admin Engine |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static org.apache.commons.logging.Log log
protected static final java.lang.String PARAM_KEY_PREFIX
| Constructor Detail |
|---|
public ExecuteBatchEE()
| Method Detail |
|---|
public void execute(org.quartz.JobExecutionContext context)
throws org.quartz.JobExecutionException
Scheduler when a
Trigger fires that is associated with the Job.
execute in interface org.quartz.Jobcontext - a context for the job in a JobExecutionException object
org.quartz.JobExecutionException - if there is an exception while executing the job.
protected java.lang.String login(KKAdminIf adminEng,
java.lang.String user,
java.lang.String password)
throws org.quartz.JobExecutionException
adminEng - an Admin Engineuser - usernamepassword - password
org.quartz.JobExecutionExceptionprotected java.lang.String getEngConfStr(KKAdminIf adminEng)
protected void logout(KKAdminIf adminEng,
java.lang.String sessId)
throws org.quartz.JobExecutionException
adminEng - an Admin EnginesessId - a session Id
org.quartz.JobExecutionException
protected KKAdminIf getAdminEngine(java.lang.String kkAdminEngineClassName,
AdminEngineConfig adEngConf)
throws org.quartz.JobExecutionException
org.quartz.JobExecutionExceptionprotected int countParameters(org.quartz.JobDataMap jobData)
jobData -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||