public class Embedded extends PluginLifeCycle
log| Constructor and Description |
|---|
Embedded() |
| Modifier and Type | Method and Description |
|---|---|
protected PluginContext |
create(Map<String,Object> attributes,
PluginDiscovery discovery,
ClassLoader loader)
Create the plugin context, allow subclasses to customize it.
|
protected FS |
createCommandFS()
Create the command file system from the
crash.mountpointconfig.cmd servlet context parameter. |
protected FS |
createConfFS()
Create the conf file system from the
crash.mountpointconfig.conf servlet context parameter. |
protected FS |
createFS(String mountPointConfig)
Create a new file system, configured by a the argument
mountPointConfig: when the mount point
configuration is not null, it is mounted on the returned file system. |
protected Map<String,FSMountFactory<?>> |
getMountFactories() |
protected String |
resolveCmdMountPointConfig() |
protected String |
resolveConfMountPointConfig() |
protected PluginContext |
start(Map<String,Object> attributes,
PluginDiscovery discovery,
ClassLoader loader)
Create and start the plugin context.
|
getConfig, getContext, setConfig, start, stoppublic Embedded()
protected PluginContext create(Map<String,Object> attributes, PluginDiscovery discovery, ClassLoader loader)
discovery - the plugin discoveryprotected PluginContext start(Map<String,Object> attributes, PluginDiscovery discovery, ClassLoader loader)
discovery - the plugin discoveryprotected FS createCommandFS() throws IOException
crash.mountpointconfig.cmd servlet context parameter.IOExceptionprotected FS createConfFS() throws IOException
crash.mountpointconfig.conf servlet context parameter.IOExceptionprotected Map<String,FSMountFactory<?>> getMountFactories()
protected FS createFS(String mountPointConfig) throws IOException
mountPointConfig: when the mount point
configuration is not null, it is mounted on the returned file system.mountPointConfig - the mount point configurationIOException - any io exceptionprotected String resolveConfMountPointConfig()
protected String resolveCmdMountPointConfig()
Copyright © 2015 eXo Platform SAS. All Rights Reserved.