public class SwingInstanceManagerImpl extends PrimaryUrlHandler implements SwingInstanceManager
configService, JAVASCRIPT_NLS_PREFIX, securityModuleService, varSubs| Constructor and Description |
|---|
SwingInstanceManagerImpl(UrlHandler parent,
String path,
SwingInstanceService instanceFactory,
WebSocketService websocket,
FileTransferHandlerService fileService,
LoginHandlerService loginService,
ResourceHandlerService resourceService,
SecurityModuleService securityModuleService,
ConfigurationService configService,
StatisticsLoggerService loggerService,
ExtensionService extService,
RestService restService,
SwingInstanceHolder instanceHolder) |
| Modifier and Type | Method and Description |
|---|---|
void |
connectView(org.webswing.model.c2s.ConnectionHandshakeMsgIn handshake,
WebSocketConnection r) |
void |
destroy() |
org.webswing.model.s2c.ApplicationInfoMsg |
getApplicationInfoMsg() |
List<SwingInstanceManager> |
getApplications() |
protected String |
getPath() |
StatisticsReader |
getStatsReader() |
SwingInstanceHolder |
getSwingInstanceHolder() |
void |
init() |
boolean |
isUserAuthorized() |
protected void |
killAll() |
void |
logStatValue(String instance,
String name,
Number value) |
void |
notifySwingClose(SwingInstance swingInstance) |
disable, generateCsrfToken, get, getConfig, getFromSecuritySession, getSecurityConfig, getStatus, getSwingConfig, getVariableMap, getWebResource, initConfiguration, isEnabled, isOriginAllowed, isSameOrigin, isSubPath, replaceVariables, resolveFile, serve, setToSecuritySession, validateCsrfTokencheckMasterPermission, checkPermission, checkPermissionLocalOrMaster, getFullPathMapping, getLastModified, getMasterUser, getPathInfo, getPathMapping, getRootHandler, getSecuredPath, getSecurityProvider, getServletContext, getUser, registerChildUrlHandler, registerFirstChildUrlHandler, removeChildUrlHandler, secureServe, toPathclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdisable, getConfig, resolveFileget, getPathMapping, initConfiguration, isEnabledcheckMasterPermission, checkPermission, getFullPathMapping, getLastModified, getPathMapping, getRootHandler, getSecuredPath, getSecurityProvider, getServletContext, getUser, registerChildUrlHandler, registerFirstChildUrlHandler, removeChildUrlHandler, servegetSecuredPathpublic SwingInstanceManagerImpl(UrlHandler parent, String path, SwingInstanceService instanceFactory, WebSocketService websocket, FileTransferHandlerService fileService, LoginHandlerService loginService, ResourceHandlerService resourceService, SecurityModuleService securityModuleService, ConfigurationService configService, StatisticsLoggerService loggerService, ExtensionService extService, RestService restService, SwingInstanceHolder instanceHolder)
public void init()
init in interface UrlHandlerinit in class PrimaryUrlHandlerpublic void destroy()
destroy in interface UrlHandlerdestroy in class PrimaryUrlHandlerprotected String getPath()
getPath in class AbstractUrlHandlerpublic void connectView(org.webswing.model.c2s.ConnectionHandshakeMsgIn handshake,
WebSocketConnection r)
connectView in interface SwingInstanceManagerprotected void killAll()
killAll in class PrimaryUrlHandlerpublic void notifySwingClose(SwingInstance swingInstance)
notifySwingClose in interface SwingInstanceManagerpublic List<SwingInstanceManager> getApplications()
getApplications in class PrimaryUrlHandlerpublic org.webswing.model.s2c.ApplicationInfoMsg getApplicationInfoMsg()
getApplicationInfoMsg in interface SwingInstanceManagerpublic void logStatValue(String instance, String name, Number value)
logStatValue in interface SwingInstanceManagerpublic StatisticsReader getStatsReader()
getStatsReader in interface SwingInstanceManagerpublic boolean isUserAuthorized()
isUserAuthorized in interface SwingInstanceManagerpublic SwingInstanceHolder getSwingInstanceHolder()
getSwingInstanceHolder in interface SwingInstanceManagerCopyright © 2018. All rights reserved.