Constructor and Description |
---|
ActionAdapterQuartzJob() |
Modifier and Type | Method and Description |
---|---|
void |
execute(org.quartz.JobExecutionContext context) |
IActionInvoker |
getActionInvoker() |
protected void |
invokeAction(IAction actionBean,
String actionUser,
org.quartz.JobExecutionContext context,
Map<String,Serializable> params)
Deprecated.
as of 8.0, use
invokeAction(String, String, String, JobExecutionContext, Map) } instead |
protected void |
invokeAction(String actionClassName,
String actionId,
String actionUser,
org.quartz.JobExecutionContext context,
Map<String,Serializable> params)
Invokes the
IAction bean that is created from the provided actionClassName and actionId as
the provided actionUser . |
void |
setActionInvoker(IActionInvoker actionInvoker) |
public void execute(org.quartz.JobExecutionContext context) throws org.quartz.JobExecutionException
execute
in interface org.quartz.Job
org.quartz.JobExecutionException
@Deprecated protected void invokeAction(IAction actionBean, String actionUser, org.quartz.JobExecutionContext context, Map<String,Serializable> params) throws Exception
invokeAction(String, String, String, JobExecutionContext, Map)
} insteadException
protected void invokeAction(String actionClassName, String actionId, String actionUser, org.quartz.JobExecutionContext context, Map<String,Serializable> params) throws Exception
IAction
bean that is created from the provided actionClassName
and actionId
as
the provided actionUser
. If the IAction
execution fails as-is, the scheduler attempts to re-create
the job that will try to invoke the IAction
again.actionClassName
- The class name of the IAction
bean; used as a backup, if the actionId
is not
available or valdactionId
- The bean id of the IAction
requested to be invoked.actionUser
- The user invoking the IAction
context
- the JobExecutionContext
params
- the Map
or parameters needed to invoke the IAction
Exception
- when the IAction
cannot be invoked for some reason.public IActionInvoker getActionInvoker()
public void setActionInvoker(IActionInvoker actionInvoker)
Copyright © 2017 Hitachi Vantara. All rights reserved.