|
WebObjects 5.1 | |||||||||
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()
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.isStateless
in class WOComponent
com.webobjects.appserver.WOComponent
true
if this method is overidden, false
otherwiseWOComponent.reset()
public String key()
public boolean negate()
public void reset()
WOComponent
reset
in class WOComponent
com.webobjects.appserver.WOComponent
WOComponent.isStateless()
|
Last updated Thu Jan 10 18:10:21 PST 2002. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |