public abstract class ERXWOLongResponsePage extends WOLongResponsePage
com.webobjects.appserver.WOComponent._EventLoggingEnabler, com.webobjects.appserver.WOComponent.Event
com.webobjects.foundation.NSKeyValueCodingAdditions.DefaultImplementation, com.webobjects.foundation.NSKeyValueCodingAdditions.Utility
com.webobjects.foundation.NSKeyValueCoding._BooleanFieldBinding, com.webobjects.foundation.NSKeyValueCoding._BooleanMethodBinding, com.webobjects.foundation.NSKeyValueCoding._FieldBinding, com.webobjects.foundation.NSKeyValueCoding._ForwardingBinding, com.webobjects.foundation.NSKeyValueCoding._KeyBinding, com.webobjects.foundation.NSKeyValueCoding._KeyBindingCreation, com.webobjects.foundation.NSKeyValueCoding._MethodBinding, com.webobjects.foundation.NSKeyValueCoding._NumberFieldBinding, com.webobjects.foundation.NSKeyValueCoding._NumberMethodBinding, com.webobjects.foundation.NSKeyValueCoding._ReflectionKeyBindingCreation, com.webobjects.foundation.NSKeyValueCoding.ErrorHandling, com.webobjects.foundation.NSKeyValueCoding.MapImplementation, com.webobjects.foundation.NSKeyValueCoding.Null<T>, com.webobjects.foundation.NSKeyValueCoding.UnknownKeyException, com.webobjects.foundation.NSKeyValueCoding.ValueAccessor
com.webobjects.foundation.NSValidation._MethodBinding, com.webobjects.foundation.NSValidation._ValidationBinding, com.webobjects.foundation.NSValidation.DefaultImplementation, com.webobjects.foundation.NSValidation.Utility, com.webobjects.foundation.NSValidation.ValidationException
_cancelled, _done, _doneAndRefreshed, _exception, _performingAction, _refreshInterval, _result, _status
_Extension, _IsEventLoggingEnabled, _keyAssociations
Constructor and Description |
---|
ERXWOLongResponsePage(com.webobjects.appserver.WOContext context) |
Modifier and Type | Method and Description |
---|---|
protected com.webobjects.eocontrol.EOEditingContext |
newEditingContext()
You must manually lock and unlock the editing context returned by
this method. It is not recommended that you depend on auto
locking in background threads.
|
<T extends com.webobjects.appserver.WOComponent> |
pageWithName(Class<T> componentClass) |
<T extends com.webobjects.appserver.WOComponent> |
pageWithName(Class<T> componentClass,
com.webobjects.appserver.WOContext context) |
protected com.webobjects.eocontrol.EOObjectStore |
parentObjectStore()
See Effective Java item #71 for explanation of this threadsafe lazy
initialization technique
|
void |
run() |
void |
setParentObjectStore(com.webobjects.eocontrol.EOObjectStore parentObjectStore) |
protected long |
taskEditingContextTimestampLag()
By design EOEditingContext's have a fetch timestamp (default is 1 hour)
that effectively creates an in-memory caching system for EOs.
|
_exception, _finishInitialization, _setException, appendToResponse, cancel, cancelPageForStatus, invokeAction, isCancelled, pageForException, pageForResult, performAction, refresh, refreshInterval, refreshPageForStatus, result, setCancelled, setRefreshInterval, setResult, setStatus, status
__valueForBinding, _associationWithName, _awakeInContext, _childTemplate, _cleanUpStatelessComponent, _componentDefinition, _componentUnroll, _isPage, _setContext, _setIsPage, _setParent, _setSubcomponent, _sleepInContext, _subcomponentForElementWithID, _templateNameForClass, _unroll, application, awake, baseURL, bindingKeys, canAccessFieldsDirectly, canGetValueForBinding, canSetValueForBinding, clone, context, debugString, descriptionForResponse, ensureAwakeInContext, frameworkName, generateResponse, handleQueryWithUnboundKey, handleTakeValueForUnboundKey, hasBinding, hasSession, isCachingEnabled, isEventLoggingEnabled, isStateless, logString, name, pageWithName, parent, path, pathURL, performParentAction, pullValuesFromParent, pushValuesToParent, reset, session, set_componentUnroll, set_unroll, setCachingEnabled, setValueForBinding, setVariableValueForName, sleep, synchronizesVariablesWithBindings, takeValueForKey, takeValueForKeyPath, takeValuesFromRequest, template, templateWithHTMLString, templateWithHTMLString, templateWithHTMLString, templateWithName, toString, unableToSetNullForKey, validateTakeValueForKeyPath, validateValueForKey, validationFailedWithException, valueForBinding, valueForBooleanBinding, valueForIntegerBinding, valueForKey, valueForKeyPath, valueForNSArrayBindings, valueForNSDictionaryBindings, valueForNumberBinding, valueForStringBinding, variableValueForName, variableWithName
public ERXWOLongResponsePage(com.webobjects.appserver.WOContext context)
public <T extends com.webobjects.appserver.WOComponent> T pageWithName(Class<T> componentClass)
public <T extends com.webobjects.appserver.WOComponent> T pageWithName(Class<T> componentClass, com.webobjects.appserver.WOContext context)
public void run()
run
in interface Runnable
run
in class WOLongResponsePage
protected final com.webobjects.eocontrol.EOObjectStore parentObjectStore()
EOObjectStoreCoordinator
to
partition the task's EOF intensive work form the rest of the app.public final void setParentObjectStore(com.webobjects.eocontrol.EOObjectStore parentObjectStore)
parentObjectStore
- the parent, usually an EOObjectStoreCoordinator
to
partition the task's EOF intensive work from the rest of the
app. If you are going to manually set this, you should do it
before starting the task.protected com.webobjects.eocontrol.EOEditingContext newEditingContext()
protected long taskEditingContextTimestampLag()
Copyright © 2002 – 2020 Project Wonder.