|
|||||||||
| Home >> All >> org >> springframework >> context >> [ support overview ] | PREV NEXT | ||||||||
A
- APPLICATION_EVENT_MULTICASTER_BEAN_NAME - Static variable in class org.springframework.context.support.AbstractApplicationContext
- Name of the ApplicationEventMulticaster bean in the factory.
- AbstractApplicationContext - class org.springframework.context.support.AbstractApplicationContext.
- Abstract implementation of the ApplicationContext interface.
- AbstractApplicationContext() - Constructor for class org.springframework.context.support.AbstractApplicationContext
- Create a new AbstractApplicationContext with no parent.
- AbstractApplicationContext(ApplicationContext) - Constructor for class org.springframework.context.support.AbstractApplicationContext
- Create a new AbstractApplicationContext with the given parent context.
- AbstractMessageSource - class org.springframework.context.support.AbstractMessageSource.
- Abstract implementation of HierarchicalMessageSource interface, making it easy to implement a custom MessageSource.
- AbstractMessageSource() - Constructor for class org.springframework.context.support.AbstractMessageSource
- AbstractRefreshableApplicationContext - class org.springframework.context.support.AbstractRefreshableApplicationContext.
- Base class for ApplicationContext implementations that are supposed to support multiple refreshs, creating a new internal bean factory instance every time.
- AbstractRefreshableApplicationContext() - Constructor for class org.springframework.context.support.AbstractRefreshableApplicationContext
- Create a new AbstractRefreshableApplicationContext with no parent.
- AbstractRefreshableApplicationContext(ApplicationContext) - Constructor for class org.springframework.context.support.AbstractRefreshableApplicationContext
- Create a new AbstractRefreshableApplicationContext with the given parent context.
- AbstractXmlApplicationContext - class org.springframework.context.support.AbstractXmlApplicationContext.
- Convenient abstract superclass for ApplicationContext implementations, drawing configuration from XML documents containing bean definitions understood by an XmlBeanDefinitionReader.
- AbstractXmlApplicationContext() - Constructor for class org.springframework.context.support.AbstractXmlApplicationContext
- Create a new AbstractXmlApplicationContext with no parent.
- AbstractXmlApplicationContext(ApplicationContext) - Constructor for class org.springframework.context.support.AbstractXmlApplicationContext
- Create a new AbstractXmlApplicationContext with the given parent context.
- ApplicationContextAwareProcessor - class org.springframework.context.support.ApplicationContextAwareProcessor.
- BeanPostProcessor implementation that passes the application context to beans that implement the ApplicationContextAware or ResourceLoaderAware interfaces.
- ApplicationContextAwareProcessor(ApplicationContext) - Constructor for class org.springframework.context.support.ApplicationContextAwareProcessor
- Create a new ApplicationContextAwareProcessor for the given context.
- ApplicationObjectSupport - class org.springframework.context.support.ApplicationObjectSupport.
- Convenient superclass for application objects that want to be aware of the application context, e.g.
- ApplicationObjectSupport() - Constructor for class org.springframework.context.support.ApplicationObjectSupport
- Constructor for bean usage via subclassing.
- addBeanFactoryPostProcessor(BeanFactoryPostProcessor) - Method in class org.springframework.context.support.AbstractApplicationContext
- addListener(ApplicationListener) - Method in class org.springframework.context.support.AbstractApplicationContext
- Subclasses can invoke this method to register a listener.
- addMessage(String, Locale, String) - Method in class org.springframework.context.support.StaticApplicationContext
- Associate the given message with the given code.
- addMessage(String, Locale, String) - Method in class org.springframework.context.support.StaticMessageSource
- Associate the given message with the given code.
- applicationContext - Variable in class org.springframework.context.support.ApplicationContextAwareProcessor
- applicationContext - Variable in class org.springframework.context.support.ApplicationObjectSupport
- ApplicationContext this object runs in
- applicationContext - Variable in class org.springframework.context.support.ResourceEntityResolver
- applicationEventMulticaster - Variable in class org.springframework.context.support.AbstractApplicationContext
- Helper class used in event publishing
- arguments - Variable in class org.springframework.context.support.DefaultMessageSourceResolvable
B
- basenames - Variable in class org.springframework.context.support.ReloadableResourceBundleMessageSource
- basenames - Variable in class org.springframework.context.support.ResourceBundleMessageSource
- beanFactory - Variable in class org.springframework.context.support.AbstractRefreshableApplicationContext
- Bean factory for this context
- beanFactory - Variable in class org.springframework.context.support.GenericApplicationContext
- beanFactoryPostProcessors - Variable in class org.springframework.context.support.AbstractApplicationContext
- BeanFactoryPostProcessors to apply on refresh
C
- ClassPathXmlApplicationContext - class org.springframework.context.support.ClassPathXmlApplicationContext.
- Standalone XML application context, taking the context definition files from the class path.
- ClassPathXmlApplicationContext(String) - Constructor for class org.springframework.context.support.ClassPathXmlApplicationContext
- Create a new ClassPathXmlApplicationContext, loading the definitions from the given XML file and automatically refreshing the context.
- ClassPathXmlApplicationContext(String[]) - Constructor for class org.springframework.context.support.ClassPathXmlApplicationContext
- Create a new ClassPathXmlApplicationContext, loading the definitions from the given XML files and automatically refreshing the context.
- ClassPathXmlApplicationContext(String[], boolean) - Constructor for class org.springframework.context.support.ClassPathXmlApplicationContext
- Create a new ClassPathXmlApplicationContext, loading the definitions from the given XML files.
- ClassPathXmlApplicationContext(String[], ApplicationContext) - Constructor for class org.springframework.context.support.ClassPathXmlApplicationContext
- Create a new ClassPathXmlApplicationContext with the given parent, loading the definitions from the given XML files and automatically refreshing the context.
- ClassPathXmlApplicationContext(String[], boolean, ApplicationContext) - Constructor for class org.springframework.context.support.ClassPathXmlApplicationContext
- Create a new ClassPathXmlApplicationContext with the given parent, loading the definitions from the given XML files.
- cacheMillis - Variable in class org.springframework.context.support.ReloadableResourceBundleMessageSource
- cachedFilenames - Variable in class org.springframework.context.support.ReloadableResourceBundleMessageSource
- Cache to hold filename lists per Locale
- cachedMergedProperties - Variable in class org.springframework.context.support.ReloadableResourceBundleMessageSource
- Cache to hold merged loaded properties per basename
- cachedMessageFormats - Variable in class org.springframework.context.support.ReloadableResourceBundleMessageSource.PropertiesHolder
- Cache to hold already generated MessageFormats per message code
- cachedMessageFormats - Variable in class org.springframework.context.support.ResourceBundleMessageSource
- Cache to hold already generated MessageFormats per message code.
- cachedProperties - Variable in class org.springframework.context.support.ReloadableResourceBundleMessageSource
- Cache to hold already loaded properties per filename
- cachedResourceBundles - Variable in class org.springframework.context.support.ResourceBundleMessageSource
- calculateAllFilenames(String, Locale) - Method in class org.springframework.context.support.ReloadableResourceBundleMessageSource
- Calculate all filenames for the given bundle basename and Locale.
- calculateFilenamesForLocale(String, Locale) - Method in class org.springframework.context.support.ReloadableResourceBundleMessageSource
- Calculate the filenames for the given bundle basename and Locale, appending language code, country code, and variant code.
- classLoader - Variable in class org.springframework.context.support.ResourceBundleMessageSource
- clearCache() - Method in class org.springframework.context.support.ReloadableResourceBundleMessageSource
- Clear the resource bundle cache.
- clearCacheIncludingAncestors() - Method in class org.springframework.context.support.ReloadableResourceBundleMessageSource
- Clear the resource bundle caches of this MessageSource and all its ancestors.
- close() - Method in class org.springframework.context.support.AbstractApplicationContext
- Publishes a ContextClosedEvent and destroys the singletons in the bean factory of this application context.
- codes - Variable in class org.springframework.context.support.DefaultMessageSourceResolvable
- configLocations - Variable in class org.springframework.context.support.ClassPathXmlApplicationContext
- configLocations - Variable in class org.springframework.context.support.FileSystemXmlApplicationContext
- containsBean(String) - Method in class org.springframework.context.support.AbstractApplicationContext
- containsBeanDefinition(String) - Method in class org.springframework.context.support.AbstractApplicationContext
- containsLocalBean(String) - Method in class org.springframework.context.support.AbstractApplicationContext
- Return whether the local bean factory of this context contains a bean of the given name, ignoring beans defined in ancestor contexts.
- createBeanFactory() - Method in class org.springframework.context.support.AbstractRefreshableApplicationContext
- Create the bean factory for this context.
- createInstance() - Method in class org.springframework.context.support.ResourceMapFactoryBean
- createMessageFormat(String, Locale) - Method in class org.springframework.context.support.AbstractMessageSource
- Create a MessageFormat for the given message and Locale.
D
- DefaultMessageSourceResolvable - class org.springframework.context.support.DefaultMessageSourceResolvable.
- Default implementation of the MessageSourceResolvable interface.
- DefaultMessageSourceResolvable(String[]) - Constructor for class org.springframework.context.support.DefaultMessageSourceResolvable
- Create a new DefaultMessageSourceResolvable.
- DefaultMessageSourceResolvable(String[], String) - Constructor for class org.springframework.context.support.DefaultMessageSourceResolvable
- Create a new DefaultMessageSourceResolvable.
- DefaultMessageSourceResolvable(String[], Object[]) - Constructor for class org.springframework.context.support.DefaultMessageSourceResolvable
- Create a new DefaultMessageSourceResolvable.
- DefaultMessageSourceResolvable(String[], Object[], String) - Constructor for class org.springframework.context.support.DefaultMessageSourceResolvable
- Create a new DefaultMessageSourceResolvable.
- DefaultMessageSourceResolvable(MessageSourceResolvable) - Constructor for class org.springframework.context.support.DefaultMessageSourceResolvable
- Copy constructor: Create a new instance from another resolvable.
- DelegatingMessageSource - class org.springframework.context.support.DelegatingMessageSource.
- Empty MessageSource that delegates all calls to the parent MessageSource.
- DelegatingMessageSource() - Constructor for class org.springframework.context.support.DelegatingMessageSource
- defaultEncoding - Variable in class org.springframework.context.support.ReloadableResourceBundleMessageSource
- defaultLocale - Variable in class org.springframework.context.support.MessageSourceAccessor
- defaultMessage - Variable in class org.springframework.context.support.DefaultMessageSourceResolvable
- destroy() - Method in class org.springframework.context.support.AbstractApplicationContext
- DisposableBean callback for destruction of this instance.
- displayName - Variable in class org.springframework.context.support.AbstractApplicationContext
- Display name
F
- FileSystemXmlApplicationContext - class org.springframework.context.support.FileSystemXmlApplicationContext.
- Standalone XML application context, taking the context definition files from the file system or from URLs.
- FileSystemXmlApplicationContext(String) - Constructor for class org.springframework.context.support.FileSystemXmlApplicationContext
- Create a new FileSystemXmlApplicationContext, loading the definitions from the given XML file and automatically refreshing the context.
- FileSystemXmlApplicationContext(String[]) - Constructor for class org.springframework.context.support.FileSystemXmlApplicationContext
- Create a new FileSystemXmlApplicationContext, loading the definitions from the given XML files and automatically refreshing the context.
- FileSystemXmlApplicationContext(String[], boolean) - Constructor for class org.springframework.context.support.FileSystemXmlApplicationContext
- Create a new FileSystemXmlApplicationContext, loading the definitions from the given XML files.
- FileSystemXmlApplicationContext(String[], ApplicationContext) - Constructor for class org.springframework.context.support.FileSystemXmlApplicationContext
- Create a new FileSystemXmlApplicationContext with the given parent, loading the definitions from the given XML files and automatically refreshing the context.
- FileSystemXmlApplicationContext(String[], boolean, ApplicationContext) - Constructor for class org.springframework.context.support.FileSystemXmlApplicationContext
- Create a new FileSystemXmlApplicationContext with the given parent, loading the definitions from the given XML files.
- fallbackToSystemLocale - Variable in class org.springframework.context.support.ReloadableResourceBundleMessageSource
- fileEncodings - Variable in class org.springframework.context.support.ReloadableResourceBundleMessageSource
- fileTimestamp - Variable in class org.springframework.context.support.ReloadableResourceBundleMessageSource.PropertiesHolder
G
- GenericApplicationContext - class org.springframework.context.support.GenericApplicationContext.
- Generic ApplicationContext implementation that holds a single internal DefaultListableBeanFactory instance and does not assume a specific bean definition format.
- GenericApplicationContext() - Constructor for class org.springframework.context.support.GenericApplicationContext
- Create a new GenericApplicationContext.
- GenericApplicationContext(DefaultListableBeanFactory) - Constructor for class org.springframework.context.support.GenericApplicationContext
- Create a new GenericApplicationContext with the given DefaultListableBeanFactory.
- GenericApplicationContext(ApplicationContext) - Constructor for class org.springframework.context.support.GenericApplicationContext
- Create a new GenericApplicationContext with the given parent.
- GenericApplicationContext(DefaultListableBeanFactory, ApplicationContext) - Constructor for class org.springframework.context.support.GenericApplicationContext
- Create a new GenericApplicationContext with the given DefaultListableBeanFactory.
- getAliases(String) - Method in class org.springframework.context.support.AbstractApplicationContext
- getApplicationContext() - Method in class org.springframework.context.support.ApplicationObjectSupport
- Return the ApplicationContext instance used by this object.
- getApplicationEventMulticaster() - Method in class org.springframework.context.support.AbstractApplicationContext
- Return the internal MessageSource used by the context.
- getArguments() - Method in class org.springframework.context.support.DefaultMessageSourceResolvable
- getBean(String) - Method in class org.springframework.context.support.AbstractApplicationContext
- getBean(String, Class) - Method in class org.springframework.context.support.AbstractApplicationContext
- getBeanDefinition(String) - Method in class org.springframework.context.support.GenericApplicationContext
- getBeanDefinitionCount() - Method in class org.springframework.context.support.AbstractApplicationContext
- getBeanDefinitionNames() - Method in class org.springframework.context.support.AbstractApplicationContext
- getBeanDefinitionNames(Class) - Method in class org.springframework.context.support.AbstractApplicationContext
- getBeanFactory() - Method in class org.springframework.context.support.AbstractApplicationContext
- Subclasses must return their internal bean factory here.
- getBeanFactory() - Method in class org.springframework.context.support.AbstractRefreshableApplicationContext
- getBeanFactory() - Method in class org.springframework.context.support.GenericApplicationContext
- Return the single internal BeanFactory held by this context.
- getBeanFactoryPostProcessors() - Method in class org.springframework.context.support.AbstractApplicationContext
- Return the list of BeanPostProcessors that will get applied to beans created with this factory.
- getBeanNamesForType(Class) - Method in class org.springframework.context.support.AbstractApplicationContext
- getBeanNamesForType(Class, boolean, boolean) - Method in class org.springframework.context.support.AbstractApplicationContext
- getBeansOfType(Class) - Method in class org.springframework.context.support.AbstractApplicationContext
- getBeansOfType(Class, boolean, boolean) - Method in class org.springframework.context.support.AbstractApplicationContext
- getCode() - Method in class org.springframework.context.support.DefaultMessageSourceResolvable
- Return the default code of this resolvable, i.e.
- getCodes() - Method in class org.springframework.context.support.DefaultMessageSourceResolvable
- getConfigLocations() - Method in class org.springframework.context.support.AbstractXmlApplicationContext
- Return an array of resource locations, referring to the XML bean definition files that this context should be built with.
- getConfigLocations() - Method in class org.springframework.context.support.ClassPathXmlApplicationContext
- getConfigLocations() - Method in class org.springframework.context.support.FileSystemXmlApplicationContext
- getDefaultListableBeanFactory() - Method in class org.springframework.context.support.GenericApplicationContext
- Return the underlying bean factory of this context, available for registering bean definitions.
- getDefaultLocale() - Method in class org.springframework.context.support.MessageSourceAccessor
- Return the default locale to use if no explicit locale has been given.
- getDefaultMessage() - Method in class org.springframework.context.support.DefaultMessageSourceResolvable
- getDisplayName() - Method in class org.springframework.context.support.AbstractApplicationContext
- Return a friendly name for this context.
- getFileTimestamp() - Method in class org.springframework.context.support.ReloadableResourceBundleMessageSource.PropertiesHolder
- getInternalParentBeanFactory() - Method in class org.springframework.context.support.AbstractApplicationContext
- Return the internal bean factory of the parent context if it implements ConfigurableApplicationContext; else, return the parent context itself.
- getInternalParentMessageSource() - Method in class org.springframework.context.support.AbstractApplicationContext
- Return the internal message source of the parent context if it is an AbstractApplicationContext too; else, return the parent context itself.
- getKeys() - Method in class org.springframework.context.support.MessageSourceResourceBundle
- This implementation returns null, as a MessageSource does not allow for enumerating the defined message codes.
- getMergedProperties(Locale) - Method in class org.springframework.context.support.ReloadableResourceBundleMessageSource
- Get a PropertiesHolder that contains the actually visible properties for a Locale, after merging all specified resource bundles.
- getMessage(String, Object[], String, Locale) - Method in class org.springframework.context.support.AbstractApplicationContext
- getMessage(String, Object[], Locale) - Method in class org.springframework.context.support.AbstractApplicationContext
- getMessage(MessageSourceResolvable, Locale) - Method in class org.springframework.context.support.AbstractApplicationContext
- getMessage(String, Object[], String, Locale) - Method in class org.springframework.context.support.AbstractMessageSource
- getMessage(String, Object[], Locale) - Method in class org.springframework.context.support.AbstractMessageSource
- getMessage(MessageSourceResolvable, Locale) - Method in class org.springframework.context.support.AbstractMessageSource
- getMessage(String, Object[], String, Locale) - Method in class org.springframework.context.support.DelegatingMessageSource
- getMessage(String, Object[], Locale) - Method in class org.springframework.context.support.DelegatingMessageSource
- getMessage(MessageSourceResolvable, Locale) - Method in class org.springframework.context.support.DelegatingMessageSource
- getMessage(String, String) - Method in class org.springframework.context.support.MessageSourceAccessor
- Retrieve the message for the given code and the default Locale.
- getMessage(String, String, Locale) - Method in class org.springframework.context.support.MessageSourceAccessor
- Retrieve the message for the given code and the given Locale.
- getMessage(String, Object[], String) - Method in class org.springframework.context.support.MessageSourceAccessor
- Retrieve the message for the given code and the default Locale.
- getMessage(String, Object[], String, Locale) - Method in class org.springframework.context.support.MessageSourceAccessor
- Retrieve the message for the given code and the given Locale.
- getMessage(String) - Method in class org.springframework.context.support.MessageSourceAccessor
- Retrieve the message for the given code and the default Locale.
- getMessage(String, Locale) - Method in class org.springframework.context.support.MessageSourceAccessor
- Retrieve the message for the given code and the given Locale.
- getMessage(String, Object[]) - Method in class org.springframework.context.support.MessageSourceAccessor
- Retrieve the message for the given code and the default Locale.
- getMessage(String, Object[], Locale) - Method in class org.springframework.context.support.MessageSourceAccessor
- Retrieve the message for the given code and the given Locale.
- getMessage(MessageSourceResolvable) - Method in class org.springframework.context.support.MessageSourceAccessor
- Retrieve the given MessageSourceResolvable (e.g.
- getMessage(MessageSourceResolvable, Locale) - Method in class org.springframework.context.support.MessageSourceAccessor
- Retrieve the given MessageSourceResolvable (e.g.
- getMessageFormat(String, Locale) - Method in class org.springframework.context.support.ReloadableResourceBundleMessageSource.PropertiesHolder
- getMessageFormat(ResourceBundle, String, Locale) - Method in class org.springframework.context.support.ResourceBundleMessageSource
- Return a MessageFormat for the given bundle and code, fetching already generated MessageFormats from the cache.
- getMessageInternal(String, Object[], Locale) - Method in class org.springframework.context.support.AbstractMessageSource
- Resolve the given code and arguments as message in the given Locale, returning null if not found.
- getMessageSource() - Method in class org.springframework.context.support.AbstractApplicationContext
- Return the internal MessageSource used by the context.
- getMessageSourceAccessor() - Method in class org.springframework.context.support.ApplicationObjectSupport
- Return a MessageSourceAccessor for the application context used by this object, for easy message access.
- getObjectType() - Method in class org.springframework.context.support.ResourceMapFactoryBean
- getParent() - Method in class org.springframework.context.support.AbstractApplicationContext
- Return the parent context, or null if there is no parent (that is, this context is the root of the context hierarchy).
- getParentBeanFactory() - Method in class org.springframework.context.support.AbstractApplicationContext
- getParentMessageSource() - Method in class org.springframework.context.support.AbstractMessageSource
- getParentMessageSource() - Method in class org.springframework.context.support.DelegatingMessageSource
- getProperties() - Method in class org.springframework.context.support.ReloadableResourceBundleMessageSource.PropertiesHolder
- getProperties(String) - Method in class org.springframework.context.support.ReloadableResourceBundleMessageSource
- Get a PropertiesHolder for the given filename, either from the cache or freshly loaded.
- getProperty(String) - Method in class org.springframework.context.support.ReloadableResourceBundleMessageSource.PropertiesHolder
- getRefreshTimestamp() - Method in class org.springframework.context.support.ReloadableResourceBundleMessageSource.PropertiesHolder
- getResource(String) - Method in class org.springframework.context.support.GenericApplicationContext
- This implementation delegates to this context's ResourceLoader if set, falling back to the default superclass behavior else.
- getResourceBundle(String, Locale) - Method in class org.springframework.context.support.ResourceBundleMessageSource
- Return a ResourceBundle for the given basename and code, fetching already generated MessageFormats from the cache.
- getResourceByPath(String) - Method in class org.springframework.context.support.FileSystemXmlApplicationContext
- Resolve resource paths as file system paths.
- getResourcePatternResolver() - Method in class org.springframework.context.support.AbstractApplicationContext
- Return the ResourcePatternResolver to use for resolving location patterns into Resource instances.
- getResources(String) - Method in class org.springframework.context.support.AbstractApplicationContext
- getStartupDate() - Method in class org.springframework.context.support.AbstractApplicationContext
- Return the timestamp (ms) when this context was first loaded.
- getStaticMessageSource() - Method in class org.springframework.context.support.StaticApplicationContext
- Return the internal StaticMessageSource used by this context.
- getStringOrNull(ResourceBundle, String) - Method in class org.springframework.context.support.ResourceBundleMessageSource
- getType(String) - Method in class org.springframework.context.support.AbstractApplicationContext
H
- handleGetObject(String) - Method in class org.springframework.context.support.MessageSourceResourceBundle
- This implementation resolves the code in the MessageSource.
I
- initApplicationContext() - Method in class org.springframework.context.support.ApplicationObjectSupport
- Subclasses can override this for custom initialization behavior.
- initApplicationEventMulticaster() - Method in class org.springframework.context.support.AbstractApplicationContext
- Initialize the ApplicationEventMulticaster.
- initBeanDefinitionReader(XmlBeanDefinitionReader) - Method in class org.springframework.context.support.AbstractXmlApplicationContext
- Initialize the bean definition reader used for loading the bean definitions of this context.
- initMessageSource() - Method in class org.springframework.context.support.AbstractApplicationContext
- Initialize the MessageSource.
- invokeBeanFactoryPostProcessors() - Method in class org.springframework.context.support.AbstractApplicationContext
- Instantiate and invoke all registered BeanFactoryPostProcessor beans, respecting explicit order if given.
- isContextRequired() - Method in class org.springframework.context.support.ApplicationObjectSupport
- Determine whether this application object needs to run in an ApplicationContext.
- isSingleton(String) - Method in class org.springframework.context.support.AbstractApplicationContext
L
- loadBeanDefinitions(DefaultListableBeanFactory) - Method in class org.springframework.context.support.AbstractRefreshableApplicationContext
- Load bean definitions into the given bean factory, typically through delegating to one or more bean definition readers.
- loadBeanDefinitions(DefaultListableBeanFactory) - Method in class org.springframework.context.support.AbstractXmlApplicationContext
- Loads the bean definitions via an XmlBeanDefinitionReader.
- loadBeanDefinitions(XmlBeanDefinitionReader) - Method in class org.springframework.context.support.AbstractXmlApplicationContext
- Load the bean definitions with the given XmlBeanDefinitionReader.
- locale - Variable in class org.springframework.context.support.MessageSourceResourceBundle
- logger - Variable in class org.springframework.context.support.AbstractApplicationContext
- Logger used by this class.
- logger - Variable in class org.springframework.context.support.AbstractMessageSource
- logger - Variable in class org.springframework.context.support.ApplicationContextAwareProcessor
- logger - Variable in class org.springframework.context.support.ApplicationObjectSupport
- Logger that is available to subclasses
M
- MESSAGE_SOURCE_BEAN_NAME - Static variable in class org.springframework.context.support.AbstractApplicationContext
- Name of the MessageSource bean in the factory.
- MessageSourceAccessor - class org.springframework.context.support.MessageSourceAccessor.
- Helper class for easy access to messages from a MessageSource, providing various overloaded getMessage methods.
- MessageSourceAccessor(MessageSource) - Constructor for class org.springframework.context.support.MessageSourceAccessor
- Create a new MessageSourceAccessor, using LocaleContextHolder's locale as default locale.
- MessageSourceAccessor(MessageSource, Locale) - Constructor for class org.springframework.context.support.MessageSourceAccessor
- Create a new MessageSourceAccessor, using the given default locale.
- MessageSourceResourceBundle - class org.springframework.context.support.MessageSourceResourceBundle.
- Helper class that allows for accessing a MessageSource as a ResourceBundle.
- MessageSourceResourceBundle(MessageSource, Locale) - Constructor for class org.springframework.context.support.MessageSourceResourceBundle
- messageSource - Variable in class org.springframework.context.support.AbstractApplicationContext
- MessageSource we delegate our implementation of this interface to
- messageSource - Variable in class org.springframework.context.support.MessageSourceAccessor
- messageSource - Variable in class org.springframework.context.support.StaticApplicationContext
- messageSourceAccessor - Variable in class org.springframework.context.support.ApplicationObjectSupport
- MessageSourceAccessor for easy message access
- messages - Variable in class org.springframework.context.support.StaticMessageSource
O
- onRefresh() - Method in class org.springframework.context.support.AbstractApplicationContext
- Template method which can be overridden to add context-specific refresh work.
- org.springframework.context.support - package org.springframework.context.support
- This package builds on the beans package to add support for message sources and for the Observer design pattern, and the ability for application objects to obtain resources using a consistent API.
P
- PROPERTIES_SUFFIX - Static variable in class org.springframework.context.support.ReloadableResourceBundleMessageSource
- parent - Variable in class org.springframework.context.support.AbstractApplicationContext
- Parent context
- parentMessageSource - Variable in class org.springframework.context.support.AbstractMessageSource
- parentMessageSource - Variable in class org.springframework.context.support.DelegatingMessageSource
- postProcessAfterInitialization(Object, String) - Method in class org.springframework.context.support.ApplicationContextAwareProcessor
- postProcessBeanFactory(ConfigurableListableBeanFactory) - Method in class org.springframework.context.support.AbstractApplicationContext
- Modify the application context's internal bean factory after its standard initialization.
- postProcessBeforeInitialization(Object, String) - Method in class org.springframework.context.support.ApplicationContextAwareProcessor
- properties - Variable in class org.springframework.context.support.ReloadableResourceBundleMessageSource.PropertiesHolder
- propertiesPersister - Variable in class org.springframework.context.support.ReloadableResourceBundleMessageSource
- publishEvent(ApplicationEvent) - Method in class org.springframework.context.support.AbstractApplicationContext
- Publish the given event to all listeners.
R
- ReloadableResourceBundleMessageSource - class org.springframework.context.support.ReloadableResourceBundleMessageSource.
- MessageSource that accesses the ResourceBundles with the specified basenames.
- ReloadableResourceBundleMessageSource() - Constructor for class org.springframework.context.support.ReloadableResourceBundleMessageSource
- ReloadableResourceBundleMessageSource.PropertiesHolder - class org.springframework.context.support.ReloadableResourceBundleMessageSource.PropertiesHolder.
- PropertiesHolder for caching.
- ReloadableResourceBundleMessageSource.PropertiesHolder(Properties, long) - Constructor for class org.springframework.context.support.ReloadableResourceBundleMessageSource.PropertiesHolder
- ReloadableResourceBundleMessageSource.PropertiesHolder() - Constructor for class org.springframework.context.support.ReloadableResourceBundleMessageSource.PropertiesHolder
- ResourceBundleMessageSource - class org.springframework.context.support.ResourceBundleMessageSource.
- MessageSource that accesses the ResourceBundles with the specified basenames.
- ResourceBundleMessageSource() - Constructor for class org.springframework.context.support.ResourceBundleMessageSource
- ResourceEntityResolver - class org.springframework.context.support.ResourceEntityResolver.
- EntityResolver implementation that tries to resolve entity references relative to the resource base of the application context, if applicable.
- ResourceEntityResolver(ApplicationContext) - Constructor for class org.springframework.context.support.ResourceEntityResolver
- ResourceMapFactoryBean - class org.springframework.context.support.ResourceMapFactoryBean.
- FactoryBean that creates a Map with String keys and Resource values from properties, interpreting passed-in String values as resource locations.
- ResourceMapFactoryBean() - Constructor for class org.springframework.context.support.ResourceMapFactoryBean
- refresh() - Method in class org.springframework.context.support.AbstractApplicationContext
- refreshBeanFactory() - Method in class org.springframework.context.support.AbstractApplicationContext
- Subclasses must implement this method to perform the actual configuration load.
- refreshBeanFactory() - Method in class org.springframework.context.support.AbstractRefreshableApplicationContext
- refreshBeanFactory() - Method in class org.springframework.context.support.GenericApplicationContext
- Do nothing: We hold a single internal BeanFactory and rely on callers to register beans through our public methods (or the BeanFactory's).
- refreshProperties(String, ReloadableResourceBundleMessageSource.PropertiesHolder) - Method in class org.springframework.context.support.ReloadableResourceBundleMessageSource
- Refresh the PropertiesHolder for the given bundle filename.
- refreshTimestamp - Variable in class org.springframework.context.support.ReloadableResourceBundleMessageSource.PropertiesHolder
- refreshed - Variable in class org.springframework.context.support.GenericApplicationContext
- registerAlias(String, String) - Method in class org.springframework.context.support.GenericApplicationContext
- registerBeanDefinition(String, BeanDefinition) - Method in class org.springframework.context.support.GenericApplicationContext
- registerBeanPostProcessors() - Method in class org.springframework.context.support.AbstractApplicationContext
- Instantiate and invoke all registered BeanPostProcessor beans, respecting explicit order if given.
- registerListeners() - Method in class org.springframework.context.support.AbstractApplicationContext
- Add beans that implement ApplicationListener as listeners.
- registerPrototype(String, Class) - Method in class org.springframework.context.support.StaticApplicationContext
- Register a prototype bean with the underlying bean factory.
- registerPrototype(String, Class, MutablePropertyValues) - Method in class org.springframework.context.support.StaticApplicationContext
- Register a prototype bean with the underlying bean factory.
- registerSingleton(String, Class) - Method in class org.springframework.context.support.StaticApplicationContext
- Register a singleton bean with the underlying bean factory.
- registerSingleton(String, Class, MutablePropertyValues) - Method in class org.springframework.context.support.StaticApplicationContext
- Register a singleton bean with the underlying bean factory.
- requiredContextClass() - Method in class org.springframework.context.support.ApplicationObjectSupport
- Determine the context class that any context passed to
setApplicationContextmust be an instance of. - resolvableToString() - Method in class org.springframework.context.support.DefaultMessageSourceResolvable
- resolveArguments(Object[], Locale) - Method in class org.springframework.context.support.AbstractMessageSource
- Search through the given array of objects, find any MessageSourceResolvable objects and resolve them.
- resolveCode(String, Locale) - Method in class org.springframework.context.support.AbstractMessageSource
- Subclasses must implement this method to resolve a message.
- resolveCode(String, Locale) - Method in class org.springframework.context.support.ReloadableResourceBundleMessageSource
- resolveCode(String, Locale) - Method in class org.springframework.context.support.ResourceBundleMessageSource
- resolveCode(String, Locale) - Method in class org.springframework.context.support.StaticMessageSource
- resolveCodeWithoutArguments(String, Locale) - Method in class org.springframework.context.support.AbstractMessageSource
- Subclasses can override this method to resolve a message without arguments in an optimized fashion, i.e.
- resolveCodeWithoutArguments(String, Locale) - Method in class org.springframework.context.support.ReloadableResourceBundleMessageSource
- resolveCodeWithoutArguments(String, Locale) - Method in class org.springframework.context.support.ResourceBundleMessageSource
- resolveEntity(String, String) - Method in class org.springframework.context.support.ResourceEntityResolver
- resourceBasePath - Variable in class org.springframework.context.support.ResourceMapFactoryBean
- resourceLoader - Variable in class org.springframework.context.support.GenericApplicationContext
- resourceLoader - Variable in class org.springframework.context.support.ReloadableResourceBundleMessageSource
- resourceLoader - Variable in class org.springframework.context.support.ResourceMapFactoryBean
- resourcePatternResolver - Variable in class org.springframework.context.support.AbstractApplicationContext
- ResourcePatternResolver used by this context
S
- StaticApplicationContext - class org.springframework.context.support.StaticApplicationContext.
- ApplicationContext that allows concrete registration of beans and messages in code, rather than from external configuration sources.
- StaticApplicationContext() - Constructor for class org.springframework.context.support.StaticApplicationContext
- Create a new StaticApplicationContext.
- StaticApplicationContext(ApplicationContext) - Constructor for class org.springframework.context.support.StaticApplicationContext
- Create a new StaticApplicationContext with the given parent.
- StaticMessageSource - class org.springframework.context.support.StaticMessageSource.
- Simple implementation of MessageSource that allows messages to be held in a Java object, and added programmatically.
- StaticMessageSource() - Constructor for class org.springframework.context.support.StaticMessageSource
- setApplicationContext(ApplicationContext) - Method in class org.springframework.context.support.ApplicationObjectSupport
- setBasename(String) - Method in class org.springframework.context.support.ReloadableResourceBundleMessageSource
- Set a single basename, following the basic ResourceBundle convention of not specifying file extension or language codes, but in contrast to ResourceBundleMessageSource referring to a Spring resource location: e.g.
- setBasename(String) - Method in class org.springframework.context.support.ResourceBundleMessageSource
- Set a single basename, following ResourceBundle conventions: It is a fully-qualified classname.
- setBasenames(String[]) - Method in class org.springframework.context.support.ReloadableResourceBundleMessageSource
- Set an array of basenames, each following the above-mentioned special convention.
- setBasenames(String[]) - Method in class org.springframework.context.support.ResourceBundleMessageSource
- Set an array of basenames, each following ResourceBundle conventions.
- setCacheSeconds(int) - Method in class org.springframework.context.support.ReloadableResourceBundleMessageSource
- Set the number of seconds to cache loaded properties files.
- setClassLoader(ClassLoader) - Method in class org.springframework.context.support.ResourceBundleMessageSource
- Set the ClassLoader to load resource bundles with, or null for using the thread context class loader on actual access (applying to the thread that does the "getMessage" call).
- setDefaultEncoding(String) - Method in class org.springframework.context.support.ReloadableResourceBundleMessageSource
- Set the default charset to use for parsing properties files.
- setDisplayName(String) - Method in class org.springframework.context.support.AbstractApplicationContext
- Set a friendly name for this context.
- setFallbackToSystemLocale(boolean) - Method in class org.springframework.context.support.ReloadableResourceBundleMessageSource
- Set whether to fall back to the system Locale if no files for a specific Locale have been found.
- setFileEncodings(Properties) - Method in class org.springframework.context.support.ReloadableResourceBundleMessageSource
- Set per-file charsets to use for parsing properties files.
- setParent(ApplicationContext) - Method in class org.springframework.context.support.AbstractApplicationContext
- setParentMessageSource(MessageSource) - Method in class org.springframework.context.support.AbstractMessageSource
- setParentMessageSource(MessageSource) - Method in class org.springframework.context.support.DelegatingMessageSource
- setPropertiesPersister(PropertiesPersister) - Method in class org.springframework.context.support.ReloadableResourceBundleMessageSource
- Set the PropertiesPersister to use for parsing properties files.
- setRefreshTimestamp(long) - Method in class org.springframework.context.support.ReloadableResourceBundleMessageSource.PropertiesHolder
- setResourceBasePath(String) - Method in class org.springframework.context.support.ResourceMapFactoryBean
- Set a base path to prepend to each resource location value in the properties file.
- setResourceLoader(ResourceLoader) - Method in class org.springframework.context.support.GenericApplicationContext
- Set a ResourceLoader to use for this context.
- setResourceLoader(ResourceLoader) - Method in class org.springframework.context.support.ReloadableResourceBundleMessageSource
- Set the ResourceLoader to use for loading bundle properties files.
- setResourceLoader(ResourceLoader) - Method in class org.springframework.context.support.ResourceMapFactoryBean
- setUseCodeAsDefaultMessage(boolean) - Method in class org.springframework.context.support.AbstractMessageSource
- Set whether to use the message code as default message instead of throwing a NoSuchMessageException.
- source - Variable in class org.springframework.context.support.MessageSourceResourceBundle
- startupTime - Variable in class org.springframework.context.support.AbstractApplicationContext
- System time in milliseconds when this context started
T
- toString() - Method in class org.springframework.context.support.AbstractApplicationContext
- Return information about this context.
- toString() - Method in class org.springframework.context.support.DefaultMessageSourceResolvable
- toString() - Method in class org.springframework.context.support.ReloadableResourceBundleMessageSource
- toString() - Method in class org.springframework.context.support.ResourceBundleMessageSource
- Show the configuration of this MessageSource.
- toString() - Method in class org.springframework.context.support.StaticMessageSource
U
- useCodeAsDefaultMessage - Variable in class org.springframework.context.support.AbstractMessageSource
A B C D F G H I