public interface MDWorkbenchServer
MDWorkbenchServer.INSTANCE
field.
This interface is not intended to be implemented by clients.
Modifier and Type | Field and Description |
---|---|
static MDWorkbenchServer |
INSTANCE
The singleton instance.
|
Modifier and Type | Method and Description |
---|---|
DiscoveryHelper |
getDiscoveryHelper(HttpServletRequest request)
Returns the discovery helpers, which provides URLs of MDWorkbench Server built-in servlets.
|
DiscoveryHelper |
getDiscoveryHelper(String requestUri)
Deprecated.
Clients are recommended to use the
getDiscoveryHelper(HttpServletRequest) method. |
LaunchManager |
getLaunchManager()
Retrieves the manager of launches.
|
Logger |
getLogger()
Returns the logger where information shall be logged.
|
PlatformLocator |
getPlatformLocator(ServletContext context)
Returns the platform locator service, which gives information
to a plug-in developer on where data shall be stored on server side.
|
ServicesManager |
getServicesManager()
Retrieves the manager of services.
|
ServerState |
getState()
Returns information on the MDWorkbench Server application state.
|
StorageManager |
getStorageManager()
Retrieves the manager of storages.
|
MDWorkbench |
getWorkbench()
Returns the MDWorkbench instance associated with the server.
|
static final MDWorkbenchServer INSTANCE
MDWorkbench getWorkbench() throws CoreException
CoreException
- if anything prevents from creating an MDWorkbench instanceServicesManager getServicesManager()
LaunchManager getLaunchManager()
StorageManager getStorageManager()
PlatformLocator getPlatformLocator(ServletContext context)
context
- the servlet context.DiscoveryHelper getDiscoveryHelper(HttpServletRequest request)
request
- the servlet request in which the discovery process happens.@Deprecated DiscoveryHelper getDiscoveryHelper(String requestUri)
getDiscoveryHelper(HttpServletRequest)
method.requestUri
- the servlet request URL in which the discovery process happens.getDiscoveryHelper(HttpServletRequest)
Logger getLogger()
ServerState getState()