org.crsh.spring
Class SpringBootstrap
java.lang.Object
org.crsh.plugin.PluginLifeCycle
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 PluginLifeCycle
-
- implements org.springframework.beans.factory.BeanClassLoaderAware, org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean
-
Field Summary |
private org.springframework.beans.factory.BeanFactory |
factory
. |
private ClassLoader |
loader
. |
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
-
.
SpringBootstrap
public SpringBootstrap()
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
createCommandFS
protected FS createCommandFS()
throws IOException,
URISyntaxException
-
-
- Throws:
IOException
URISyntaxException
createConfFS
protected FS createConfFS()
throws IOException,
URISyntaxException
-
-
- Throws:
IOException
URISyntaxException
destroy
public void destroy()
throws Exception
-
- Specified by:
destroy
in interface org.springframework.beans.factory.DisposableBean
-
- Throws:
Exception
Copyright © 2014 eXo Platform SAS. All Rights Reserved.