Class SpringBeanAccessor
java.lang.Object
org.bonitasoft.engine.service.impl.SpringBeanAccessor
Spring bean accessor that get its configuration from configuration file in classpath and in database
- Author:
- Charles Souillard
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected BonitaSpringContextvoiddestroy()protected List<org.bonitasoft.platform.configuration.model.BonitaConfiguration>org.springframework.context.ApplicationContextprotected Properties<T> TgetService(Class<T> serviceClass) getSpringFileFromClassPath(boolean cluster) protected booleanprotected voidwarnDeprecatedProperties(org.springframework.core.env.MutablePropertySources propertySources)
-
Constructor Details
-
SpringBeanAccessor
public SpringBeanAccessor()
-
-
Method Details
-
getService
-
getContext
public org.springframework.context.ApplicationContext getContext() -
warnDeprecatedProperties
protected void warnDeprecatedProperties(org.springframework.core.env.MutablePropertySources propertySources) -
createContext
-
destroy
public void destroy() -
getProperties
- Throws:
IOException
-
getConfigurationFromDatabase
protected List<org.bonitasoft.platform.configuration.model.BonitaConfiguration> getConfigurationFromDatabase() throws IOException- Throws:
IOException
-
getSpringFileFromClassPath
-
isCluster
- Throws:
IOException
-