public class BonitaSpringContext
extends org.springframework.context.support.FileSystemXmlApplicationContext
APPLICATION_EVENT_MULTICASTER_BEAN_NAME, LIFECYCLE_PROCESSOR_BEAN_NAME, logger, MESSAGE_SOURCE_BEAN_NAMECONFIG_LOCATION_DELIMITERS, CONVERSION_SERVICE_BEAN_NAME, ENVIRONMENT_BEAN_NAME, LOAD_TIME_WEAVER_BEAN_NAME, SYSTEM_ENVIRONMENT_BEAN_NAME, SYSTEM_PROPERTIES_BEAN_NAME| Constructor and Description |
|---|
BonitaSpringContext(String[] configLocations,
org.springframework.context.ApplicationContext parent)
Create a new FileSystemXmlApplicationContext with the given parent,
loading the definitions from the given XML files and automatically
refreshing the context.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addByteArrayResource(org.bonitasoft.platform.configuration.model.BonitaConfiguration configuration) |
void |
addClassPathResource(String location) |
protected org.springframework.core.io.Resource[] |
getConfigResources() |
protected org.springframework.core.io.Resource |
getResourceByPath(String path) |
initBeanDefinitionReader, loadBeanDefinitions, loadBeanDefinitions, setValidatingafterPropertiesSet, getConfigLocations, getDefaultConfigLocations, resolvePath, setBeanName, setConfigLocation, setConfigLocations, setIdassertBeanFactoryActive, cancelRefresh, closeBeanFactory, createBeanFactory, customizeBeanFactory, getBeanFactory, hasBeanFactory, refreshBeanFactory, setAllowBeanDefinitionOverriding, setAllowCircularReferencesaddApplicationListener, addBeanFactoryPostProcessor, close, containsBean, containsBeanDefinition, containsLocalBean, createEnvironment, destroy, destroyBeans, doClose, findAnnotationOnBean, finishBeanFactoryInitialization, finishRefresh, getAliases, getApplicationListeners, getApplicationName, getAutowireCapableBeanFactory, getBean, getBean, getBean, getBean, getBean, getBeanDefinitionCount, getBeanDefinitionNames, getBeanFactoryPostProcessors, getBeanNamesForAnnotation, getBeanNamesForType, getBeanNamesForType, getBeanNamesForType, getBeansOfType, getBeansOfType, getBeansWithAnnotation, getDisplayName, getEnvironment, getId, getInternalParentBeanFactory, getInternalParentMessageSource, getMessage, getMessage, getMessage, getParent, getParentBeanFactory, getResourcePatternResolver, getResources, getStartupDate, getType, initApplicationEventMulticaster, initLifecycleProcessor, initMessageSource, initPropertySources, invokeBeanFactoryPostProcessors, isActive, isPrototype, isRunning, isSingleton, isTypeMatch, isTypeMatch, obtainFreshBeanFactory, onClose, onRefresh, postProcessBeanFactory, prepareBeanFactory, prepareRefresh, publishEvent, publishEvent, publishEvent, refresh, registerBeanPostProcessors, registerListeners, registerShutdownHook, resetCommonCaches, setDisplayName, setEnvironment, setParent, start, stop, toStringgetClassLoader, getResource, setClassLoaderpublic BonitaSpringContext(String[] configLocations, org.springframework.context.ApplicationContext parent) throws org.springframework.beans.BeansException
configLocations - array of file pathsparent - the parent contextorg.springframework.beans.BeansException - if context creation failedprotected org.springframework.core.io.Resource getResourceByPath(String path)
getResourceByPath in class org.springframework.context.support.FileSystemXmlApplicationContextpublic void addClassPathResource(String location)
protected org.springframework.core.io.Resource[] getConfigResources()
getConfigResources in class org.springframework.context.support.AbstractXmlApplicationContextpublic void addByteArrayResource(org.bonitasoft.platform.configuration.model.BonitaConfiguration configuration)
Copyright © 2016 Bonitasoft S.A.. All rights reserved.