|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectopenr66.context.task.AbstractExecJavaTask
public abstract class AbstractExecJavaTask

Dummy Runnable Task that only logs
| Field Summary | |
|---|---|
protected String[] |
args
|
protected boolean |
callFromBusiness
|
protected String |
classname
|
protected int |
delay
|
protected String |
fullarg
|
protected boolean |
isToValidate
|
protected R66Session |
session
|
protected int |
status
|
protected boolean |
useLocalExec
|
protected boolean |
waitForValidation
|
| Constructor Summary | |
|---|---|
AbstractExecJavaTask()
|
|
| Method Summary | |
|---|---|
void |
finalValidate(Object object)
To be called by the requester when finished |
int |
getFinalStatus()
|
void |
invalid()
To be used if abnormal usage is made of one Java Method |
void |
run()
|
void |
setArgs(R66Session session,
boolean waitForValidation,
boolean useLocalExec,
int delay,
String[] args)
The way the parameter will be set |
String |
toString()
|
void |
validate(BusinessRequestPacket packet)
Server side methode to validate the request |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected int delay
protected String[] args
protected int status
protected R66Session session
protected boolean waitForValidation
protected boolean useLocalExec
protected String classname
protected String fullarg
protected boolean isToValidate
protected boolean callFromBusiness
| Constructor Detail |
|---|
public AbstractExecJavaTask()
| Method Detail |
|---|
public void validate(BusinessRequestPacket packet)
packet - public void finalValidate(Object object)
object - special object to get backpublic void invalid()
public void run()
run in interface Runnable
public void setArgs(R66Session session,
boolean waitForValidation,
boolean useLocalExec,
int delay,
String[] args)
R66Runnable
setArgs in interface R66Runnablesession - The current R66SessionwaitForValidation - True if the caller will wait up to delay time in msuseLocalExec - True if currently R66 is configured to use LocalExec (may be ignored)delay - Delay in ms used only if waitForValidation is Trueargs - First arg is the Class name usedpublic int getFinalStatus()
getFinalStatus in interface R66Runnablepublic String toString()
toString in interface R66RunnabletoString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||