|
WebObjects 5.4.2 | ||||||||
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.directtoweb.D2WComponent com.webobjects.directtoweb.D2WStatelessComponent
public class D2WStatelessComponent
The D2WStatelessComponent class represents a stateless Direct to Web component. For a stateless component, a single instance is shared between multiple sessions. Many property-level components are stateless.
WOComponent.isStateless()
,
Serialized FormNested Class Summary |
---|
Nested classes/interfaces inherited from class com.webobjects.appserver.WOComponent |
---|
WOComponent.Event |
Nested classes/interfaces inherited from interface com.webobjects.foundation.NSKeyValueCodingAdditions |
---|
NSKeyValueCodingAdditions.DefaultImplementation, NSKeyValueCodingAdditions.Utility |
Nested classes/interfaces inherited from interface com.webobjects.foundation.NSValidation |
---|
NSValidation.DefaultImplementation, NSValidation.Utility, NSValidation.ValidationException |
Field Summary |
---|
Fields inherited from class com.webobjects.directtoweb.D2WComponent |
---|
currentObjectKey |
Fields inherited from interface com.webobjects.foundation.NSKeyValueCodingAdditions |
---|
KeyPathSeparator |
Constructor Summary | |
---|---|
D2WStatelessComponent(WOContext aContext)
Creates an instance of D2WStatelessComponent with the specified context. |
Method Summary | |
---|---|
D2WContext |
d2wContext()
Provides access to the local instance of D2WContext. |
boolean |
isStateless()
Indicates that the component is stateless. |
D2WContext |
localContext()
Deprecated. Use the method d2wContext instead. |
EOEnterpriseObject |
object()
Provides access to the local instance of EOEnterpriseObject. |
void |
reset()
Resets the component. |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public D2WStatelessComponent(WOContext aContext)
aContext
- instance of WOContextD2WComponent.D2WComponent(WOContext)
Method Detail |
---|
public boolean isStateless()
isStateless
in class WOComponent
WOComponent.isStateless()
@Deprecated public D2WContext localContext()
d2wContext
instead.
localContext
has been deprecated.
Use the method d2wContext
instead.
localContext
in class D2WComponent
D2WStatelessComponent.d2wContext()
public D2WContext d2wContext()
d2wContext
in class D2WComponent
D2WStatelessComponent.reset()
,
D2WComponent.d2wContext()
public EOEnterpriseObject object()
object
in class D2WComponent
D2WStatelessComponent.reset()
,
D2WComponent.object()
public void reset()
The current implementation clears the local instance of D2WContext and the local instance of EOEnterpriseObject.
The implementation is subject to change in future releases.
reset
in class WOComponent
D2WStatelessComponent.d2wContext()
,
D2WStatelessComponent.object()
|
Last updated June 2008 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |