Class SpringBeanAccessor

java.lang.Object
org.bonitasoft.engine.service.impl.SpringBeanAccessor

public class SpringBeanAccessor extends Object
Spring bean accessor that get its configuration from configuration file in classpath and in database
Author:
Charles Souillard
  • Constructor Details

    • SpringBeanAccessor

      public SpringBeanAccessor()
  • Method Details

    • getService

      public <T> T getService(Class<T> serviceClass)
    • getContext

      public org.springframework.context.ApplicationContext getContext()
    • warnDeprecatedProperties

      protected void warnDeprecatedProperties(org.springframework.core.env.MutablePropertySources propertySources)
    • createContext

      protected BonitaSpringContext createContext()
    • destroy

      public void destroy()
    • getProperties

      protected Properties getProperties() throws IOException
      Throws:
      IOException
    • getConfigurationFromDatabase

      protected List<org.bonitasoft.platform.configuration.model.BonitaConfiguration> getConfigurationFromDatabase() throws IOException
      Throws:
      IOException
    • getSpringFileFromClassPath

      protected List<String> getSpringFileFromClassPath(boolean cluster)
    • isCluster

      protected boolean isCluster() throws IOException
      Throws:
      IOException