public class WebSocketDesktopInit extends java.lang.Object implements DesktopInit
Constructor and Description |
---|
WebSocketDesktopInit() |
Modifier and Type | Method and Description |
---|---|
void |
init(Desktop desktop,
java.lang.Object request)
Called when a desktop is created and initialized.
|
public void init(Desktop desktop, java.lang.Object request) throws java.lang.Exception
DesktopInit
Note: you can access the execution by calling
Desktop.getExecution()
or
Executions.getCurrent()
.
init
in interface DesktopInit
desktop
- the desktop being created and initializedrequest
- the request caused the desktop being created.
If HTTP and servlet, it is javax.servlet.http.HttpServletRequest.
If portlet, it is javax.portlet.RenderRequest.java.lang.Exception
Copyright © 2005-2021 Potix Corporation. All Rights Reserved.