|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.enterprise.web.ara.IsolationRulesExecutor
public class IsolationRulesExecutor
This class execute sequentialy Rules on a Task
| Field Summary | |
|---|---|
static int |
RULE_BLOCKED
|
static int |
RULE_CONTINUE
|
static int |
RULE_DELAY
|
static int |
RULE_OK
|
static int |
RULE_OK_NOCACHE
|
protected ArrayList<Rule> |
rules
The list of Rule to apply to a Task |
| Constructor Summary | |
|---|---|
IsolationRulesExecutor()
|
|
| Method Summary | |
|---|---|
boolean |
execute(IsolatedTask isolatedTask)
Execute the Rules on the IsolatedTask |
boolean |
isCachingAllowed()
Is caching of Rule results allowed |
protected void |
loadRules()
Load the list of Rules to apply to a Task |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int RULE_OK
public static final int RULE_DELAY
public static final int RULE_BLOCKED
public static final int RULE_OK_NOCACHE
public static final int RULE_CONTINUE
protected ArrayList<Rule> rules
Rule to apply to a Task
| Constructor Detail |
|---|
public IsolationRulesExecutor()
| Method Detail |
|---|
protected void loadRules()
Rules to apply to a Task
public boolean execute(IsolatedTask isolatedTask)
Rules on the IsolatedTask
execute in interface RulesExecutor<IsolatedTask>isolatedTask - the task used.
public boolean isCachingAllowed()
Rule results allowed
isCachingAllowed in interface RulesExecutor<IsolatedTask>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||