public class JsrXmlApplicationContext
extends org.springframework.context.support.GenericApplicationContext
GenericApplicationContext implementation providing JSR-352 related context operations.
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 |
|---|
JsrXmlApplicationContext()
Create a new context instance with no job parameters.
|
JsrXmlApplicationContext(java.util.Properties jobParameters)
Create a new context instance using the provided
Properties representing job
parameters when pre-processing the job definition document. |
| Modifier and Type | Method and Description |
|---|---|
protected org.springframework.beans.factory.xml.XmlBeanDefinitionReader |
getReader() |
void |
load(org.springframework.core.io.Resource... resources)
Load bean definitions from the given XML resources.
|
void |
setValidating(boolean validating)
Set whether to use XML validation.
|
cancelRefresh, closeBeanFactory, getBeanDefinition, getBeanFactory, getDefaultListableBeanFactory, getResource, getResources, isAlias, isBeanNameInUse, refreshBeanFactory, registerAlias, registerBeanDefinition, removeAlias, removeBeanDefinition, setAllowBeanDefinitionOverriding, setAllowCircularReferences, setId, setParent, setResourceLoaderaddApplicationListener, addBeanFactoryPostProcessor, assertBeanFactoryActive, close, containsBean, containsBeanDefinition, containsLocalBean, createEnvironment, destroy, destroyBeans, doClose, findAnnotationOnBean, finishBeanFactoryInitialization, finishRefresh, getAliases, getApplicationListeners, getApplicationName, getAutowireCapableBeanFactory, getBean, getBean, getBean, getBean, getBeanDefinitionCount, getBeanDefinitionNames, getBeanFactoryPostProcessors, getBeanNamesForAnnotation, getBeanNamesForType, getBeanNamesForType, getBeansOfType, getBeansOfType, getBeansWithAnnotation, getDisplayName, getEnvironment, getId, getInternalParentBeanFactory, getInternalParentMessageSource, getMessage, getMessage, getMessage, getParent, getParentBeanFactory, getResourcePatternResolver, getStartupDate, getType, initApplicationEventMulticaster, initLifecycleProcessor, initMessageSource, initPropertySources, invokeBeanFactoryPostProcessors, isActive, isPrototype, isRunning, isSingleton, isTypeMatch, obtainFreshBeanFactory, onClose, onRefresh, postProcessBeanFactory, prepareBeanFactory, prepareRefresh, publishEvent, refresh, registerBeanPostProcessors, registerListeners, registerShutdownHook, setDisplayName, setEnvironment, start, stop, toStringgetClassLoader, getResourceByPath, setClassLoaderclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic JsrXmlApplicationContext()
Create a new context instance with no job parameters.
public JsrXmlApplicationContext(java.util.Properties jobParameters)
Create a new context instance using the provided Properties representing job
parameters when pre-processing the job definition document.
jobParameters - the Properties representing job parametersprotected org.springframework.beans.factory.xml.XmlBeanDefinitionReader getReader()
public void setValidating(boolean validating)
true.public void load(org.springframework.core.io.Resource... resources)
resources - one or more resources to load from