er.directtoweb.assignments.delayed
Class ERDDelayedRuleAssignment
java.lang.Object
com.webobjects.directtoweb.Assignment
er.directtoweb.assignments.delayed.ERDDelayedAssignment
er.directtoweb.assignments.delayed.ERDDelayedRuleAssignment
- All Implemented Interfaces:
- EOKeyValueArchiving, Serializable
public class ERDDelayedRuleAssignment
- extends ERDDelayedAssignment
DelayedRuleAssignment expects an array of rules as its value. The rules are
evaluated in turn until one returns a non-null result. This is done
every time that the propertyKey is requested thus making the rule system
a lot more dynamic.
- See Also:
- Serialized Form
|
Field Summary |
static Logger |
log
Logging support |
| Fields inherited from class com.webobjects.directtoweb.Assignment |
KeyPathKey, ValueKey |
| Methods inherited from class com.webobjects.directtoweb.Assignment |
encodeWithKeyValueArchiver, keyPath, toString, value, value |
log
public static final Logger log
- Logging support
ERDDelayedRuleAssignment
public ERDDelayedRuleAssignment(EOKeyValueUnarchiver u)
ERDDelayedRuleAssignment
public ERDDelayedRuleAssignment(String key,
Object value)
decodeWithKeyValueUnarchiver
public static Object decodeWithKeyValueUnarchiver(EOKeyValueUnarchiver eokeyvalueunarchiver)
fireNow
public Object fireNow(com.webobjects.directtoweb.D2WContext c)
- This method is called whenever the propertyKey is requested,
but the value in the cache is actually a rule.
- Specified by:
fireNow in class ERDDelayedAssignment
Copyright © 2002 – 2011 Project Wonder.