Uses of Interface
org.zkoss.zk.ui.Execution
Packages that use Execution
Package
Description
-
Uses of Execution in org.zkoss.zk.device
Methods in org.zkoss.zk.device with parameters of type ExecutionModifier and TypeMethodDescriptionstatic StringDevices.loadFileContentAsString(Execution exec, String path) Loads the content of a file as a String.static StringDevices.loadJavaScript(Execution exec, 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 ExecutionModifier and TypeFieldDescriptionprotected static final ThreadLocal<Execution>Executions._execStores the currentExecution.Methods in org.zkoss.zk.ui that return ExecutionModifier and TypeMethodDescriptionstatic final ExecutionExecutions.getCurrent()Returns the current 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 ExecutionModifier and TypeClassDescriptionclassAnExecutionimplementation for HTTP request and response.Methods in org.zkoss.zk.ui.http with parameters of type ExecutionModifier and TypeMethodDescriptionvoidCspProviderImpl.setCspHeader(Execution exec, Configuration config) -
Uses of Execution in org.zkoss.zk.ui.impl
Classes in org.zkoss.zk.ui.impl that implement ExecutionMethods in org.zkoss.zk.ui.impl that return ExecutionMethods in org.zkoss.zk.ui.impl with parameters of type ExecutionModifier and TypeMethodDescriptionvoidbooleanvoidUiEngineImpl.beginUpdate(Execution exec) UiEngineImpl.createComponents(Execution exec, PageDefinition pagedef, Page page, Component parent, Component insertBefore, org.zkoss.xel.VariableResolver resolver, Map<?, ?> arg) voidUiEngineImpl.deactivate(Execution exec) voidvoidUiEngineImpl.execNewPage(Execution exec, PageDefinition pagedef, Page page, Writer out) voidUiEngineImpl.execNewPage(Execution exec, Richlet richlet, Page page, Writer out) voidUiEngineImpl.execRecover(Execution exec, FailoverManager failover) voidUiEngineImpl.execUpdate(Execution exec, List<AuRequest> requests, AuWriter out) voidDesktopImpl.invokeExecutionCleanups(Execution exec, Execution parent, List<Throwable> errs) voidDesktopImpl.invokeExecutionInits(Execution exec, Execution parent) voidUiEngineImpl.recycleDesktop(Execution exec, Page page, Writer out) static booleanDesktopRecycles.removeDesktop(Execution exec) Called to remove the desktop.voidDesktopImpl.setExecution(Execution exec) UiEngineImpl.startUpdate(Execution exec) Constructors in org.zkoss.zk.ui.impl with parameters of type ExecutionModifierConstructorDescriptionRequestInfoImpl(Execution exec, org.zkoss.util.resource.Locator locator) Constructor. -
Uses of Execution in org.zkoss.zk.ui.metainfo
Methods in org.zkoss.zk.ui.metainfo with parameters of type ExecutionModifier and TypeMethodDescriptionvoidMessageLoader.load(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 ExecutionModifier and TypeMethodDescriptionVisualizer.getExecution()Returns the execution that this visualizer is associated with.Methods in org.zkoss.zk.ui.sys with parameters of type ExecutionModifier and TypeMethodDescriptionvoidActivates an execution such that you can access a component.booleanActivates an execution such that you can access a component.voidUiEngine.beginUpdate(Execution exec) Activates and prepare for asynchronous updateUiEngine.createComponents(Execution exec, PageDefinition pagedef, Page page, Component parent, Component insertBefore, org.zkoss.xel.VariableResolver resolver, Map<?, ?> arg) Creates components from the specified page and definition.voidUiEngine.deactivate(Execution exec) Deactivates an execution, such that other threads could activate and access components.voidExecutes posted events, deactivate and ends the asynchronous update.voidUiEngine.execNewPage(Execution exec, PageDefinition pagedef, Page page, Writer out) Creates components specified in the given page definition.voidUiEngine.execNewPage(Execution exec, Richlet richlet, Page page, Writer out) InvokeRichlet.service(org.zkoss.zk.ui.Page), when a new page is creates upon visiting a richlet.voidUiEngine.execRecover(Execution exec, FailoverManager failover) Executes the recovering.voidUiEngine.execUpdate(Execution exec, List<AuRequest> requests, AuWriter out) Executes an asynchronous update to a component (or page).static final StringExecutionsCtrl.getPageRedrawControl(Execution exec) Returns the page redraw control.static final HtmlPageRenders.RenderContextHtmlPageRenders.getRenderContext(Execution exec) Returns the render context, or null if not available.static final List<org.zkoss.html.StyleSheet>HtmlPageRenders.getStyleSheets(Execution exec, WebApp wapp, String deviceType) Returns a list ofStyleSheetthat shall be generated to the client for the specified execution.voidDesktopCtrl.invokeExecutionCleanups(Execution exec, Execution parent, List<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).voidDesktopCtrl.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 booleanHtmlPageRenders.isDirectContent(Execution exec) Returns whether a component can directly generate HTML tags to the output.static booleanHtmlPageRenders.isZkTagsGenerated(Execution exec) Returns if the ZK specific HTML tags are generated.static final StringHtmlPageRenders.outDocType(Execution exec, Page page) Returns the doc type, or null if not available.static final StringHtmlPageRenders.outFirstLine(Execution exec, Page page) Returns the first line to be generated to the output, or null if no special first line.static final StringHtmlPageRenders.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 StringHtmlPageRenders.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 final StringHtmlPageRenders.outInitCrashScript(Execution exec, WebApp wapp) Returns Script tag to include init-crash-script and init-crash-timeout defined in zk.xmlstatic final StringHtmlPageRenders.outLangJavaScripts(Execution exec, WebApp wapp, String deviceType) Returns HTML tags to include all JavaScript files and codes that are required when loading a ZUML page (never null).static final StringHtmlPageRenders.outLangStyleSheets(Execution exec, WebApp wapp, String deviceType) Returns HTML tags to include all style sheets that are defined in all languages of the specified device (never null).static final voidHtmlPageRenders.outPageContent(Execution exec, Page page, Writer out, boolean au) Returns the HTML content representing a page.static final StringHtmlPageRenders.outResponseJavaScripts(Execution exec) Generates the AU responses that are part of a page rendering.static final StringHtmlPageRenders.outResponseJavaScripts(Execution exec, boolean directJS) Generates the AU responses that are part of a page rendering.static final voidHtmlPageRenders.outStandalone(Execution exec, Component comp, 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 StringHtmlPageRenders.outUnavailable(Execution exec) Generates the unavailable message in HTML tags, if any.static StringGenerates and returns the ZK specific HTML tags such as stylesheet and JavaScript.voidRecovers the specified desktop.voidUiEngine.recycleDesktop(Execution exec, Page page, Writer out) Reuse the desktop and generate the output.static final voidHtmlPageRenders.setContentType(Execution exec, Page page) Sets the content type to the specified execution for the given page.static final voidHtmlPageRenders.setCspHeader(Execution exec, Page page) Sets the Content-Security-Policy response header for the given page, if CSP is enabled (i.e.,<csp-enabled>inzk.xml).static final voidExecutionsCtrl.setCurrent(Execution exec) Sets the execution for the current thread.static booleanHtmlPageRenders.setDirectContent(Execution exec, boolean direct) Sets whether a component can directly generate HTML tags to the output.voidDesktopCtrl.setExecution(Execution exec) Sets the execution (used to represent a lock).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 ExecutionModifier and TypeFieldDescriptionprotected ExecutionGenericAutowireComposer.executionImplicit Object; the current execution.Methods in org.zkoss.zk.ui.util with parameters of type ExecutionModifier and TypeMethodDescriptionbooleanDesktopRecycle.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.DesktopRecycle.beforeService(Execution exec, String uri) Called when an user requests the content of a page.Called when a WCS (Widget CSS descriptor) file is about to be loaded.ThemeProvider.beforeWidgetCSS(Execution exec, String uri) Called when a WCS (Widget CSS descriptor) file is about to load the CSS file associated with a widget.voidcalled when an execution is about to be destroyed.voidExecutionMonitor.executionAbort(Execution exec, Desktop desktop, Throwable t) Called when the activation of the given execution is aborted.voidExecutionMonitor.executionActivate(Execution exec, Desktop desktop) Called when an execution is activated.voidExecutionMonitor.executionDeactivate(Execution exec, Desktop desktop) Called when an activated execution completes and is deactivated.voidExecutionMonitor.executionWait(Execution exec, Desktop desktop) Called when an execution fails to activate and then being waiting for activation.ThemeProvider.getThemeURIs(Execution exec, List<Object> uris) Returns a list of the theme's URIs of the specified execution, or null if no theme shall be generated.intThemeProvider.getWCSCacheControl(Execution exec, String uri) Returns the number of hours that the specified WCS (Widget CSS descriptor) file won't be changed.voidCalled when an execution is created and initialized.voidConfiguration.invokeExecutionCleanups(Execution exec, Execution parent, List<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<?>).voidConfiguration.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<?>).voidThemeURIHandler.modifyThemeURIs(Execution exec, ThemeURIModifier modifier) Allow developer to modify the theme uri list throughThemeURIModifierwhen a desktop is about to be rendered.voidPerformanceMeter.requestCompleteAtClient(String requestId, Execution exec, long time) Called to notify when the client has completed the processing of the response.voidPerformanceMeter.requestCompleteAtServer(String requestId, Execution exec, long time) Called to notify when the server has completed the processing of the request.voidPerformanceMeter.requestReceiveAtClient(String requestId, Execution exec, long time) Called to notify when the client has received the response (but not processed yet).voidPerformanceMeter.requestStartAtClient(String requestId, Execution exec, long time) Called to notify when the client starts to send the request to server.voidPerformanceMeter.requestStartAtServer(String requestId, Execution exec, long time) Called to notify when the server receives the request.voidCspProvider.setCspHeader(Execution exec, Configuration config) Sets the CSP header for the given execution based on the configuration. -
Uses of Execution in org.zkoss.zk.xel.impl
Constructors in org.zkoss.zk.xel.impl with parameters of type ExecutionModifierConstructorDescriptionExecutionResolver(Execution exec, org.zkoss.xel.VariableResolver parent) Constructs a resolver with a parent and a page.