|
WebObjects 5.2.3 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.webobjects.appserver.WOElement com.webobjects.appserver.WOComponent com.webobjects.woextensions.WOKeyValueConditional
Nested Class Summary |
Nested classes inherited from class com.webobjects.appserver.WOComponent |
WOComponent.Event |
Nested classes inherited from class com.webobjects.foundation.NSKeyValueCoding |
NSKeyValueCoding.DefaultImplementation, NSKeyValueCoding.ErrorHandling, NSKeyValueCoding.Null, NSKeyValueCoding.UnknownKeyException, NSKeyValueCoding.Utility, NSKeyValueCoding.ValueAccessor |
Nested classes inherited from class com.webobjects.foundation.NSKeyValueCodingAdditions |
NSKeyValueCodingAdditions.DefaultImplementation, NSKeyValueCodingAdditions.Utility |
Nested classes inherited from class com.webobjects.foundation.NSValidation |
NSValidation.DefaultImplementation, NSValidation.Utility, NSValidation.ValidationException |
Field Summary |
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()
WOComponent
false
, 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 WOComponent
true
if this method is overidden, false
otherwiseWOComponent.reset()
,
WOComponent.synchronizesVariablesWithBindings()
public String key()
public boolean negate()
public void reset()
WOComponent
reset
in class WOComponent
WOComponent.isStateless()
|
Last updated Thu Oct 21 15:04:16 PDT 2004. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |