org.crsh.spring
Class SpringBootstrap

java.lang.Object
  extended by org.crsh.plugin.PluginLifeCycle
      extended by 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
          .
 
Fields inherited from class org.crsh.plugin.PluginLifeCycle
log
 
Constructor Summary
SpringBootstrap()
           
 
Method Summary
 void afterPropertiesSet()
           
protected  FS createCommandFS()
           
protected  FS createConfFS()
           
 void destroy()
           
 void setBeanClassLoader(ClassLoader loader)
           
 void setBeanFactory(org.springframework.beans.factory.BeanFactory factory)
           
 
Methods inherited from class org.crsh.plugin.PluginLifeCycle
getConfig, getContext, setConfig, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

loader

private ClassLoader loader
.


factory

private org.springframework.beans.factory.BeanFactory factory
.

Constructor Detail

SpringBootstrap

public SpringBootstrap()
Method Detail

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.