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:
- com.webobjects.eocontrol.EOKeyValueArchiving, java.io.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
Nested classes/interfaces inherited from interface com.webobjects.eocontrol.EOKeyValueArchiving |
com.webobjects.eocontrol.EOKeyValueArchiving._NullValueSupport, com.webobjects.eocontrol.EOKeyValueArchiving._NumberSupport, com.webobjects.eocontrol.EOKeyValueArchiving._TimestampSupport, com.webobjects.eocontrol.EOKeyValueArchiving.Awaking, com.webobjects.eocontrol.EOKeyValueArchiving.FinishInitialization, com.webobjects.eocontrol.EOKeyValueArchiving.Support |
Field Summary |
static org.apache.log4j.Logger |
log
Logging support |
Fields inherited from class com.webobjects.directtoweb.Assignment |
KeyPathKey, ValueKey |
Fields inherited from interface com.webobjects.eocontrol.EOKeyValueArchiving |
_CLASS |
Method Summary |
static java.lang.Object |
decodeWithKeyValueUnarchiver(com.webobjects.eocontrol.EOKeyValueUnarchiver eokeyvalueunarchiver)
|
java.lang.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. |
Methods inherited from class com.webobjects.directtoweb.Assignment |
encodeWithKeyValueArchiver, keyPath, toString, value, value |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
log
public static final org.apache.log4j.Logger log
- Logging support
ERDDelayedRuleAssignment
public ERDDelayedRuleAssignment(com.webobjects.eocontrol.EOKeyValueUnarchiver u)
ERDDelayedRuleAssignment
public ERDDelayedRuleAssignment(java.lang.String key,
java.lang.Object value)
decodeWithKeyValueUnarchiver
public static java.lang.Object decodeWithKeyValueUnarchiver(com.webobjects.eocontrol.EOKeyValueUnarchiver eokeyvalueunarchiver)
fireNow
public java.lang.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 – 2007 Project Wonder.