|
Project Wonder 5.0 | |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecter.extensions.concurrency.ERXAbstractTask
public class ERXAbstractTask
A convenience class that provides some common logic that is used in
Runnable
and/or Callable
tasks.
Constructor Summary | |
---|---|
ERXAbstractTask()
|
Method Summary | |
---|---|
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. |
protected com.webobjects.eocontrol.EOObjectStore |
parentObjectStore()
See EFfective Java item #71 for explanation of this threadsafe lazy initialization technique |
void |
setParentObjectStore(com.webobjects.eocontrol.EOObjectStore parentObjectStore)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ERXAbstractTask()
Method Detail |
---|
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()
|
Last updated: Tue, Feb 21, 2017 05:45 PM CET | |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |