org.crsh.spring
Class SpringBootstrap
java.lang.Object
org.crsh.plugin.PluginLifeCycle
org.crsh.plugin.Embedded
org.crsh.spring.SpringBootstrap
- All Implemented Interfaces:
- org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanClassLoaderAware, org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.InitializingBean
- Direct Known Subclasses:
- SpringWebBootstrap
public class SpringBootstrap
- extends Embedded
- implements org.springframework.beans.factory.BeanClassLoaderAware, org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
loader
private ClassLoader loader
- .
factory
private org.springframework.beans.factory.BeanFactory factory
- .
drivers
protected final HashMap<String,FSMountFactory<?>> drivers
- .
cmdMountPointConfig
private String cmdMountPointConfig
- .
confMountPointConfig
private String confMountPointConfig
- .
SpringBootstrap
public SpringBootstrap()
getCmdMountPointConfig
public String getCmdMountPointConfig()
setCmdMountPointConfig
public void setCmdMountPointConfig(String cmdMountPointConfig)
getConfMountPointConfig
public String getConfMountPointConfig()
setConfMountPointConfig
public void setConfMountPointConfig(String confMountPointConfig)
setBeanClassLoader
public void setBeanClassLoader(ClassLoader loader)
- Specified by:
setBeanClassLoader
in interface org.springframework.beans.factory.BeanClassLoaderAware
setBeanFactory
public void setBeanFactory(org.springframework.beans.factory.BeanFactory factory)
throws org.springframework.beans.BeansException
- Specified by:
setBeanFactory
in interface org.springframework.beans.factory.BeanFactoryAware
- Throws:
org.springframework.beans.BeansException
afterPropertiesSet
public void afterPropertiesSet()
throws Exception
- Specified by:
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
- Throws:
Exception
getMountFactories
protected Map<String,FSMountFactory<?>> getMountFactories()
- Overrides:
getMountFactories
in class Embedded
- Returns:
- the registered drivers, by default an empty map is returned, subclasses can override to customize
resolveConfMountPointConfig
protected String resolveConfMountPointConfig()
- Overrides:
resolveConfMountPointConfig
in class Embedded
resolveCmdMountPointConfig
protected String resolveCmdMountPointConfig()
- Overrides:
resolveCmdMountPointConfig
in class Embedded
getDefaultCmdMountPointConfig
protected String getDefaultCmdMountPointConfig()
getDefaultConfMountPointConfig
protected String getDefaultConfMountPointConfig()
destroy
public void destroy()
throws Exception
- Specified by:
destroy
in interface org.springframework.beans.factory.DisposableBean
- Throws:
Exception
Copyright © 2015 eXo Platform SAS. All Rights Reserved.