Uses of Interface
org.zkoss.zk.ui.Execution
-
-
Uses of Execution in org.zkoss.bind.impl
Methods in org.zkoss.bind.impl with parameters of type Execution Modifier and Type Method Description void
ParamCall. setExecution(Execution exec)
-
Uses of Execution in org.zkoss.stateless.ui
Methods in org.zkoss.stateless.ui with parameters of type Execution Modifier and Type Method Description static UiAgent
UiAgent. of(Execution execution)
Returns a new UiAgent from the given execution, which is activated. -
Uses of Execution in org.zkoss.zhtml
Methods in org.zkoss.zhtml with parameters of type Execution Modifier and Type Method Description protected void
Textarea. redrawChildrenDirectly(TagRenderContext rc, Execution exec, java.io.Writer out)
-
Uses of Execution in org.zkoss.zhtml.impl
Methods in org.zkoss.zhtml.impl with parameters of type Execution Modifier and Type Method Description static void
PageRenderer. afterRenderHtml(Execution exec, Page page, java.io.Writer out, java.lang.Object param)
Ends and cleans up the rendering of a complete ZHTML page.static void
PageRenderer. afterRenderTag(Execution exec, java.lang.Object param)
Ends and cleans up the rendering of a ZHTML tag.static java.lang.Object
PageRenderer. beforeRenderHtml(Execution exec, Page page, java.io.Writer out)
Prepares for rendering a complete ZHTML page.static java.lang.Object
PageRenderer. beforeRenderTag(Execution exec)
Prepares for rendering a ZHTML tag.static TagRenderContext
PageRenderer. getTagRenderContext(Execution exec)
Returns the render context, or null if not available.protected void
AbstractTag. redrawChildrenDirectly(TagRenderContext rc, Execution exec, java.io.Writer out)
Renders the children directly to the given output.protected void
ContentTag. redrawChildrenDirectly(TagRenderContext rc, Execution exec, java.io.Writer out)
protected void
PageRenderer. renderComplete(Execution exec, Page page, java.io.Writer out)
Renders the page ifPage.isComplete()
is true.protected void
PageRenderer. renderPage(Execution exec, Page page, java.io.Writer out, boolean au)
Renders the page ifPage.isComplete()
is false. -
Uses of Execution in org.zkoss.zk.device
Methods in org.zkoss.zk.device with parameters of type Execution Modifier and Type Method Description static java.lang.String
Devices. loadFileContentAsString(Execution exec, java.lang.String path)
Loads the content of a file as a String.static java.lang.String
Devices. loadJavaScript(Execution exec, java.lang.String path)
Loads the content of a javascript file as a String. -
Uses of Execution in org.zkoss.zk.ui
Fields in org.zkoss.zk.ui with type parameters of type Execution Modifier and Type Field Description protected static java.lang.ThreadLocal<Execution>
Executions. _exec
Stores the currentExecution
.Methods in org.zkoss.zk.ui that return Execution Modifier and Type Method Description static Execution
Executions. getCurrent()
Returns the current execution.Execution
Desktop. getExecution()
Returns the execution, or null if this desktop is not serving any execution (a.k.a., not locked). -
Uses of Execution in org.zkoss.zk.ui.http
Classes in org.zkoss.zk.ui.http that implement Execution Modifier and Type Class Description class
ExecutionImpl
AnExecution
implementation for HTTP request and response. -
Uses of Execution in org.zkoss.zk.ui.impl
Classes in org.zkoss.zk.ui.impl that implement Execution Modifier and Type Class Description class
AbstractExecution
A skeletal implementation ofExecution
.Methods in org.zkoss.zk.ui.impl that return Execution Modifier and Type Method Description Execution
DesktopImpl. getExecution()
Methods in org.zkoss.zk.ui.impl with parameters of type Execution Modifier and Type Method Description void
UiEngineImpl. activate(Execution exec)
boolean
UiEngineImpl. activate(Execution exec, int timeout)
void
UiEngineImpl. beginUpdate(Execution exec)
Component[]
UiEngineImpl. createComponents(Execution exec, PageDefinition pagedef, Page page, Component parent, Component insertBefore, VariableResolver resolver, java.util.Map<?,?> arg)
void
UiEngineImpl. deactivate(Execution exec)
void
UiEngineImpl. endUpdate(Execution exec)
void
UiEngineImpl. execNewPage(Execution exec, PageDefinition pagedef, Page page, java.io.Writer out)
void
UiEngineImpl. execNewPage(Execution exec, Richlet richlet, Page page, java.io.Writer out)
void
UiEngineImpl. execRecover(Execution exec, FailoverManager failover)
void
UiEngineImpl. execUpdate(Execution exec, java.util.List<AuRequest> requests, AuWriter out)
void
DesktopImpl. invokeExecutionCleanups(Execution exec, Execution parent, java.util.List<java.lang.Throwable> errs)
void
DesktopImpl. invokeExecutionInits(Execution exec, Execution parent)
void
UiEngineImpl. recycleDesktop(Execution exec, Page page, java.io.Writer out)
static boolean
DesktopRecycles. removeDesktop(Execution exec)
Called to remove the desktop.void
DesktopImpl. setExecution(Execution exec)
java.lang.Object
UiEngineImpl. startUpdate(Execution exec)
Constructors in org.zkoss.zk.ui.impl with parameters of type Execution Constructor Description RequestInfoImpl(Execution exec, Locator locator)
Constructor. -
Uses of Execution in org.zkoss.zk.ui.metainfo
Methods in org.zkoss.zk.ui.metainfo with parameters of type Execution Modifier and Type Method Description void
MessageLoader. load(java.lang.StringBuffer out, Execution exec)
Load the message to output StringBuffer. -
Uses of Execution in org.zkoss.zk.ui.sys
Methods in org.zkoss.zk.ui.sys that return Execution Modifier and Type Method Description Execution
Visualizer. getExecution()
Returns the execution that this visualizer is associated with.Methods in org.zkoss.zk.ui.sys with parameters of type Execution Modifier and Type Method Description void
UiEngine. activate(Execution exec)
Activates an execution such that you can access a component.boolean
UiEngine. activate(Execution exec, int timeout)
Activates an execution such that you can access a component.void
UiEngine. beginUpdate(Execution exec)
Activates and prepare for asynchronous updateComponent[]
UiEngine. createComponents(Execution exec, PageDefinition pagedef, Page page, Component parent, Component insertBefore, VariableResolver resolver, java.util.Map<?,?> arg)
Creates components from the specified page and definition.void
UiEngine. deactivate(Execution exec)
Deactivates an execution, such that other threads could activate and access components.void
UiEngine. endUpdate(Execution exec)
Executes posted events, deactivate and ends the asynchronous update.void
UiEngine. execNewPage(Execution exec, PageDefinition pagedef, Page page, java.io.Writer out)
Creates components specified in the given page definition.void
UiEngine. execNewPage(Execution exec, Richlet richlet, Page page, java.io.Writer out)
InvokeRichlet.service(org.zkoss.zk.ui.Page)
, when a new page is creates upon visiting a richlet.void
UiEngine. execRecover(Execution exec, FailoverManager failover)
Executes the recovering.void
UiEngine. execUpdate(Execution exec, java.util.List<AuRequest> requests, AuWriter out)
Executes an asynchronous update to a component (or page).static java.lang.String
ExecutionsCtrl. getPageRedrawControl(Execution exec)
Returns the page redraw control.static HtmlPageRenders.RenderContext
HtmlPageRenders. getRenderContext(Execution exec)
Returns the render context, or null if not available.static java.util.List<StyleSheet>
HtmlPageRenders. getStyleSheets(Execution exec, WebApp wapp, java.lang.String deviceType)
Returns a list ofStyleSheet
that shall be generated to the client for the specified execution.void
DesktopCtrl. invokeExecutionCleanups(Execution exec, Execution parent, java.util.List<java.lang.Throwable> errs)
InvokesExecutionCleanup.cleanup(org.zkoss.zk.ui.Execution, org.zkoss.zk.ui.Execution, java.util.List<java.lang.Throwable>)
for each relevant listener registered byDesktop.addListener(java.lang.Object)
.void
DesktopCtrl. invokeExecutionInits(Execution exec, Execution parent)
InvokesExecutionInit.init(org.zkoss.zk.ui.Execution, org.zkoss.zk.ui.Execution)
for each relevant listener registered byDesktop.addListener(java.lang.Object)
.static boolean
HtmlPageRenders. isDirectContent(Execution exec)
Returns whether a component can directly generate HTML tags to the output.static boolean
HtmlPageRenders. isZkTagsGenerated(Execution exec)
Returns if the ZK specific HTML tags are generated.static java.lang.String
HtmlPageRenders. outDocType(Execution exec, Page page)
Returns the doc type, or null if not available.static java.lang.String
HtmlPageRenders. outFirstLine(Execution exec, Page page)
Returns the first line to be generated to the output, or null if no special first line.static java.lang.String
HtmlPageRenders. outHeaders(Execution exec, Page page, boolean before)
Returns the content of the specified condition that will be placed inside the header element of the specified page, or null if it was generated before.static java.lang.String
HtmlPageRenders. outHeaderZkTags(Execution exec, Page page)
Generates and returns the ZK specific HTML tags including the headers defined in the specified page, or null if it was generated before.static java.lang.String
HtmlPageRenders. outInitCrashScript(Execution exec, WebApp wapp)
Returns Script tag to include init-crash-script and init-crash-timeout defined in zk.xmlstatic java.lang.String
HtmlPageRenders. outLangJavaScripts(Execution exec, WebApp wapp, java.lang.String deviceType)
Returns HTML tags to include all JavaScript files and codes that are required when loading a ZUML page (never null).static java.lang.String
HtmlPageRenders. outLangStyleSheets(Execution exec, WebApp wapp, java.lang.String deviceType)
Returns HTML tags to include all style sheets that are defined in all languages of the specified device (never null).static void
HtmlPageRenders. outPageContent(Execution exec, Page page, java.io.Writer out, boolean au)
Returns the HTML content representing a page.static java.lang.String
HtmlPageRenders. outResponseJavaScripts(Execution exec)
Generates the AU responses that are part of a page rendering.static java.lang.String
HtmlPageRenders. outResponseJavaScripts(Execution exec, boolean directJS)
Generates the AU responses that are part of a page rendering.static void
HtmlPageRenders. outStandalone(Execution exec, Component comp, java.io.Writer out)
Generates the content of a standalone component that the peer widget is not a child of the page widget at the client.static java.lang.String
HtmlPageRenders. outUnavailable(Execution exec)
Generates the unavailable message in HTML tags, if any.static java.lang.String
HtmlPageRenders. outZkTags(Execution exec, WebApp wapp, java.lang.String deviceType)
Generates and returns the ZK specific HTML tags such as stylesheet and JavaScript.void
FailoverManager. recover(Session sess, Execution exec, Desktop desktop)
Recovers the specified desktop.void
UiEngine. recycleDesktop(Execution exec, Page page, java.io.Writer out)
Reuse the desktop and generate the output.static void
HtmlPageRenders. setContentType(Execution exec, Page page)
Sets the content type to the specified execution for the given page.static void
ExecutionsCtrl. setCurrent(Execution exec)
Sets the execution for the current thread.static boolean
HtmlPageRenders. setDirectContent(Execution exec, boolean direct)
Sets whether a component can directly generate HTML tags to the output.void
DesktopCtrl. setExecution(Execution exec)
Sets the execution (used to represent a lock).java.lang.Object
UiEngine. startUpdate(Execution exec)
Activates an execution that will allow developers to update the state of components. -
Uses of Execution in org.zkoss.zk.ui.util
Fields in org.zkoss.zk.ui.util declared as Execution Modifier and Type Field Description protected Execution
GenericAutowireComposer. execution
Implicit Object; the current execution.Methods in org.zkoss.zk.ui.util with parameters of type Execution Modifier and Type Method Description boolean
DesktopRecycle. beforeRemove(Execution exec, Desktop desktop, int cause)
Called when the client asks the server to remove a desktop because of the user's navigating to other URL or refreshing the page.Desktop
DesktopRecycle. beforeService(Execution exec, java.lang.String uri)
Called when an user requests the content of a page.java.lang.String
ThemeProvider. beforeWCS(Execution exec, java.lang.String uri)
Called when a WCS (Widget CSS descriptor) file is about to be loaded.java.lang.String
ThemeProvider. beforeWidgetCSS(Execution exec, java.lang.String uri)
Called when a WCS (Widget CSS descriptor) file is about to load the CSS file associated with a widget.void
ExecutionCleanup. cleanup(Execution exec, Execution parent, java.util.List<java.lang.Throwable> errs)
called when an execution is about to be destroyed.void
ExecutionMonitor. executionAbort(Execution exec, Desktop desktop, java.lang.Throwable t)
Called when the activation of the given execution is aborted.void
ExecutionMonitor. executionActivate(Execution exec, Desktop desktop)
Called when an execution is activated.void
ExecutionMonitor. executionDeactivate(Execution exec, Desktop desktop)
Called when an activated execution completes and is deactivated.void
ExecutionMonitor. executionWait(Execution exec, Desktop desktop)
Called when an execution fails to activate and then being waiting for activation.java.util.Collection<java.lang.Object>
ThemeProvider. getThemeURIs(Execution exec, java.util.List<java.lang.Object> uris)
Returns a list of the theme's URIs of the specified execution, or null if no theme shall be generated.int
ThemeProvider. getWCSCacheControl(Execution exec, java.lang.String uri)
Returns the number of hours that the specified WCS (Widget CSS descriptor) file won't be changed.void
ExecutionInit. init(Execution exec, Execution parent)
Called when an execution is created and initialized.void
Configuration. invokeExecutionCleanups(Execution exec, Execution parent, java.util.List<java.lang.Throwable> errs)
InvokesExecutionCleanup.cleanup(org.zkoss.zk.ui.Execution, org.zkoss.zk.ui.Execution, java.util.List<java.lang.Throwable>)
for each relevant listener registered byConfiguration.addListener(java.lang.Class<?>)
.void
Configuration. invokeExecutionInits(Execution exec, Execution parent)
InvokesExecutionInit.init(org.zkoss.zk.ui.Execution, org.zkoss.zk.ui.Execution)
for each relevant listener registered byConfiguration.addListener(java.lang.Class<?>)
.void
ThemeURIHandler. modifyThemeURIs(Execution exec, ThemeURIModifier modifier)
Allow developer to modify the theme uri list throughThemeURIModifier
when a desktop is about to be rendered.void
PerformanceMeter. requestCompleteAtClient(java.lang.String requestId, Execution exec, long time)
Called to notify when the client has completed the processing of the response.void
PerformanceMeter. requestCompleteAtServer(java.lang.String requestId, Execution exec, long time)
Called to notify when the server has completed the processing of the request.void
PerformanceMeter. requestReceiveAtClient(java.lang.String requestId, Execution exec, long time)
Called to notify when the client has received the response (but not processed yet).void
PerformanceMeter. requestStartAtClient(java.lang.String requestId, Execution exec, long time)
Called to notify when the client starts to send the request to server.void
PerformanceMeter. requestStartAtServer(java.lang.String requestId, Execution exec, long time)
Called to notify when the server receives the request. -
Uses of Execution in org.zkoss.zk.xel.impl
Constructors in org.zkoss.zk.xel.impl with parameters of type Execution Constructor Description ExecutionResolver(Execution exec, VariableResolver parent)
Constructs a resolver with a parent and a page. -
Uses of Execution in org.zkoss.zkex.theme
Methods in org.zkoss.zkex.theme with parameters of type Execution Modifier and Type Method Description java.lang.String
StandardThemeProvider. beforeWidgetCSS(Execution exec, java.lang.String uri)
-
Uses of Execution in org.zkoss.zkex.ui.comet
Methods in org.zkoss.zkex.ui.comet that return Execution Modifier and Type Method Description Execution
CometServerPush.ThreadInfo. getExecution()
Methods in org.zkoss.zkex.ui.comet with parameters of type Execution Modifier and Type Method Description protected void
CometServerPush. processRequest(Execution exec, CometServerPush.AsyncInfo ai)
Called when receiving the comet request from the client.void
CometServerPush.ThreadInfo. setActive(Execution exec)
-
Uses of Execution in org.zkoss.zkmax.theme
Methods in org.zkoss.zkmax.theme with parameters of type Execution Modifier and Type Method Description java.lang.String
StandardThemeProvider. beforeWidgetCSS(Execution exec, java.lang.String uri)
void
TabletThemeURIHandler. modifyThemeURIs(Execution exec, ThemeURIModifier modifier)
-
Uses of Execution in org.zkoss.zkmax.ui.comet
Methods in org.zkoss.zkmax.ui.comet with parameters of type Execution Modifier and Type Method Description protected void
CometServerPush. processRequest(Execution exec, CometServerPush.AsyncInfo ai)
Called when receiving the comet request from the client. -
Uses of Execution in org.zkoss.zkmax.ui.util
Methods in org.zkoss.zkmax.ui.util with parameters of type Execution Modifier and Type Method Description boolean
DesktopRecycle. beforeRemove(Execution exec, Desktop desktop, int cause)
Desktop
DesktopRecycle. beforeService(Execution exec, java.lang.String uri)
-
Uses of Execution in org.zkoss.zkplus.cluster
Methods in org.zkoss.zkplus.cluster with parameters of type Execution Modifier and Type Method Description void
ClusterSessionPatch. cleanup(Execution exec, Execution parent, java.util.List errs)
-
Uses of Execution in org.zkoss.zkplus.embed
Methods in org.zkoss.zkplus.embed that return Execution Modifier and Type Method Description Execution
Bridge. getExecution()
Returns the execution.Constructors in org.zkoss.zkplus.embed with parameters of type Execution Constructor Description PageRenderer(Execution exec)
PageRenderer(Execution exec, boolean pageDOM)
-
Uses of Execution in org.zkoss.zkplus.jpa
Methods in org.zkoss.zkplus.jpa with parameters of type Execution Modifier and Type Method Description void
OpenEntityManagerInViewListener. cleanup(Execution exec, Execution parent, java.util.List errs)
protected void
OpenEntityManagerInViewListener. handleException(Execution exec, java.lang.Throwable ex)
Default exception handler.void
OpenEntityManagerInViewListener. init(Execution exec, Execution parent)
-
Uses of Execution in org.zkoss.zml.impl
Methods in org.zkoss.zml.impl with parameters of type Execution Modifier and Type Method Description protected void
PageRenderer. renderComplete(Execution exec, Page page, java.io.Writer out)
Renders the page ifPage.isComplete()
is true.protected void
PageRenderer. renderPage(Execution exec, Page page, java.io.Writer out)
Renders the page ifPage.isComplete()
is false. -
Uses of Execution in org.zkoss.zul.impl
Methods in org.zkoss.zul.impl with parameters of type Execution Modifier and Type Method Description void
ZulMessageLoader. load(java.lang.StringBuffer out, Execution exec)
protected void
PageRenderer. renderComplete(Execution exec, Page page, java.io.Writer out)
Renders the page ifPage.isComplete()
is true.protected void
PageRenderer. renderDesktop(Execution exec, Page page, java.io.Writer out)
Renders the desktop and the page.protected void
PageRenderer. renderPage(Execution exec, Page page, java.io.Writer out, boolean au)
Renders the page ifPage.isComplete()
is false. -
Uses of Execution in org.zkoss.zul.theme
Methods in org.zkoss.zul.theme with parameters of type Execution Modifier and Type Method Description java.lang.String
StandardThemeProvider. beforeWCS(Execution exec, java.lang.String uri)
java.lang.String
StandardThemeProvider. beforeWidgetCSS(Execution exec, java.lang.String uri)
static java.lang.String
Themes. getTheme(Execution exe)
Returns the theme specified using the current theme resolution strategy Default strategy is to use cookiesjava.util.Collection<java.lang.Object>
StandardThemeProvider. getThemeURIs(Execution exec, java.util.List<java.lang.Object> uris)
int
StandardThemeProvider. getWCSCacheControl(Execution exec, java.lang.String uri)
static void
Themes. setTheme(Execution exe, java.lang.String themeName)
Sets the theme name using the current theme resolution strategy Default strategy is to use cookies
-