|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.zkoss.zk.ui.impl.ExecutionCarryOver
public class ExecutionCarryOver
A utility to carry over the execution to a server-push thread.
It is usually used by the implementation of
ServerPush.
How it works: First, create an instance in the event listener.
Then, you can invoke carryOver() in the server-push thread.
| Constructor Summary | |
|---|---|
ExecutionCarryOver(Desktop desktop)
|
|
| Method Summary | |
|---|---|
void |
carryOver()
Carry over the info stored in the constructor to the current thread. |
void |
cleanup()
Cleans up the info carried from onPiggyback to the current thread. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ExecutionCarryOver(Desktop desktop)
| Method Detail |
|---|
public void carryOver()
public void cleanup()
Note: carryOver() and cleanup() must be
called in the same thread.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||