|
WebObjects 5.2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--com.webobjects.appserver.WOElement
|
+--com.webobjects.appserver.WOComponent
|
+--com.webobjects.woextensions.WOKeyValueConditional
| Inner classes inherited from class com.webobjects.appserver.WOComponent |
WOComponent.Event |
| Inner classes inherited from class com.webobjects.foundation.NSKeyValueCoding |
NSKeyValueCoding.DefaultImplementation, NSKeyValueCoding.ErrorHandling, NSKeyValueCoding.Null, NSKeyValueCoding.UnknownKeyException, NSKeyValueCoding.Utility, NSKeyValueCoding.ValueAccessor |
| Inner classes inherited from class com.webobjects.foundation.NSKeyValueCodingAdditions |
NSKeyValueCodingAdditions.DefaultImplementation, NSKeyValueCodingAdditions.Utility |
| Inner classes inherited from class com.webobjects.foundation.NSValidation |
NSValidation.DefaultImplementation, NSValidation.Utility, NSValidation.ValidationException |
| Fields inherited from interface com.webobjects.foundation.NSKeyValueCoding |
NullValue |
| Fields inherited from interface com.webobjects.foundation.NSKeyValueCodingAdditions |
KeyPathSeparator |
| Constructor Summary | |
WOKeyValueConditional(WOContext aContext)
|
|
| Method Summary | |
boolean |
condition()
|
boolean |
isStateless()
By default, this method returns false, indicating that state will
be maintained for instances of the receiver. |
String |
key()
|
boolean |
negate()
|
void |
reset()
Allows a stateless component to reset temporary references. |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public WOKeyValueConditional(WOContext aContext)
| Method Detail |
public boolean condition()
public boolean isStateless()
WOComponentfalse, indicating that state will
be maintained for instances of the receiver. Overriding this method
to return true will make the component stateless. A single instance
of each stateless component is shared between multiple sessions,
reducing the application's memory footprint.
By default, stateless components don't synchronize. So, if you override this method to return
true and you want the component to synchronize, you must also override
synchronizesVariablesWithBindings and return true.
isStateless in class WOComponentcom.webobjects.appserver.WOComponenttrue if this method is overidden, false otherwiseWOComponent.reset(),
WOComponent.synchronizesVariablesWithBindings()public String key()
public boolean negate()
public void reset()
WOComponentreset in class WOComponentcom.webobjects.appserver.WOComponentWOComponent.isStateless()
|
Last updated Fri Feb 21 13:15:00 PST 2003. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||