|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.el.ELContext
de.odysseus.el.util.SimpleContext
org.cid.distribution.core.DistributionContext
public class DistributionContext
The DistributionContext is where the distribution objects store properties about the current state. It allows the processes to resolve expressions against that properties.
| Constructor Summary | |
|---|---|
DistributionContext(DistributionContext context)
Initializes a DistributionContext |
|
DistributionContext(DistributionProcess process)
Initializes a DistributionContext |
|
DistributionContext(DistributionProcess process,
DistributionMessage message)
Initializes a DistributionContext |
|
| Method Summary | |
|---|---|
java.lang.String |
evaluate(java.lang.String expression)
Evaluates an EL expression expecting a String as a result. |
java.lang.Object |
evaluate(java.lang.String expression,
java.lang.Class resultClass)
Evaluates an (EL) expression against the variables. |
DistributionMessage |
getMessage()
|
DistributionProcess |
getProcess()
|
void |
setMessage(DistributionMessage message)
|
| Methods inherited from class de.odysseus.el.util.SimpleContext |
|---|
getELResolver, getFunctionMapper, getVariableMapper, setFunction, setVariable |
| Methods inherited from class javax.el.ELContext |
|---|
getContext, getLocale, isPropertyResolved, putContext, setLocale, setPropertyResolved |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DistributionContext(DistributionProcess process)
public DistributionContext(DistributionProcess process,
DistributionMessage message)
public DistributionContext(DistributionContext context)
| Method Detail |
|---|
public java.lang.String evaluate(java.lang.String expression)
public java.lang.Object evaluate(java.lang.String expression,
java.lang.Class resultClass)
key - The expression to evaluate.
public DistributionProcess getProcess()
public DistributionMessage getMessage()
public void setMessage(DistributionMessage message)
message - The message to set.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||