Uses of Class
org.springframework.beans.BeansException

Packages that use BeansException
org.springframework.aop.framework Package containing Spring's basic AOP infrastructure, compliant with the AOP Alliance interfaces. 
org.springframework.aop.framework.adapter SPI package allowing Spring AOP framework to handle arbitrary advice types. 
org.springframework.aop.framework.autoproxy Bean post processors for use in ApplicationContexts to simplify AOP usage by automatically creating AOP proxies without the need to use a ProxyFactoryBean. 
org.springframework.aop.target This package contains implementations of the org.springframework.aop.TargetSource interface. 
org.springframework.beans This package contains interfaces and classes for manipulating Java beans. 
org.springframework.beans.factory The core package implementing Spring's lightweight Inversion of Control (IoC) container. 
org.springframework.beans.factory.access Helper infrastructure to locate and access bean factories. 
org.springframework.beans.factory.config SPI interfaces and configuration-related convenience classes for bean factories. 
org.springframework.beans.factory.support Classes supporting the org.springframework.beans.factory package. 
org.springframework.beans.factory.xml Contains an abstract XML-based BeanFactory implementation, including a standard "spring-beans" DTD. 
org.springframework.beans.support Classes supporting the org.springframework.beans package, such as utility classes for sorting and holding lists of beans. 
org.springframework.context 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. 
org.springframework.context.access Helper infrastructure to locate and access application contexts. 
org.springframework.context.support Classes supporting the org.springframework.context package, such as abstract base classes for ApplicationContext implementations and a MessageSource implementation. 
org.springframework.ejb.support Superclasses to make implementing EJBs simpler and less error-prone, as well as guaranteeing a Spring BeanFactory is available to EJBs. 
org.springframework.web.context Contains the application context subinterface for web applications, and the ContextLoaderListener that bootstraps the root web application context. 
org.springframework.web.context.support Classes supporting the org.springframework.web.context package, such as WebApplicationContext implementations, and a utility class for retrieval of the root application context etc. 
org.springframework.web.servlet Provides servlets that integrate with the application context infrastructure, and the core interfaces and classes for the Spring web MVC framework. 
org.springframework.web.servlet.handler Provides standard HandlerMapping implementations, including abstract base classes for custom implementations. 
org.springframework.web.servlet.view Provides standard View and ViewResolver implementations, including abstract base classes for custom implementations. 
org.springframework.web.servlet.view.freemarker Support classes for the integration of FreeMarker as Spring web view technology. 
org.springframework.web.servlet.view.velocity Support classes for the integration of Velocity as Spring web view technology. 
 

Uses of BeansException in org.springframework.aop.framework
 

Methods in org.springframework.aop.framework that throw BeansException
 void ProxyFactoryBean.setBeanFactory(BeanFactory beanFactory)
           
 java.lang.Object ProxyFactoryBean.getObject()
          Return a proxy.
 

Uses of BeansException in org.springframework.aop.framework.adapter
 

Methods in org.springframework.aop.framework.adapter that throw BeansException
 java.lang.Object AdvisorAdapterRegistrationManager.postProcessBeforeInitialization(java.lang.Object bean, java.lang.String name)
           
 java.lang.Object AdvisorAdapterRegistrationManager.postProcessAfterInitialization(java.lang.Object bean, java.lang.String name)
           
 

Uses of BeansException in org.springframework.aop.framework.autoproxy
 

Methods in org.springframework.aop.framework.autoproxy that throw BeansException
 java.lang.Object AbstractAutoProxyCreator.postProcessAfterInitialization(java.lang.Object bean, java.lang.String name)
          Create a proxy with the configured interceptors if the bean is identified as one to proxy by the subclass.
protected abstract  java.lang.Object[] AbstractAutoProxyCreator.getInterceptorsAndAdvisorsForBean(java.lang.Object bean, java.lang.String beanName)
          Return whether the given bean is to be proxied, and what additional interceptors and pointcuts to apply.
 

Uses of BeansException in org.springframework.aop.target
 

Methods in org.springframework.aop.target that throw BeansException
 void AbstractPrototypeTargetSource.setBeanFactory(BeanFactory beanFactory)
          Set the owning BeanFactory.
 void AbstractPoolingTargetSource.setBeanFactory(BeanFactory beanFactory)
           
 

Uses of BeansException in org.springframework.beans
 

Subclasses of BeansException in org.springframework.beans
 class FatalBeanException
          Thrown on an unrecoverable problem encountered in the beans packages or sub-packages, e.g.
 class MethodInvocationException
          Thrown when a method getter or setter throws an exception, analogous to an InvocationTargetException.
 class NotWritablePropertyException
          Exception thrown on an attempt to set the value of a property that isn't writable, because there's no setter method.
 class NullValueInNestedPathException
          Exception thrown when navigation of a valid nested property path encounters a null pointer exception.
 class PropertyAccessException
          Superclass for exceptions related to a property access, such as type mismatch or invocation target exception.
 class PropertyAccessExceptionsException
          Combined exception, composed of individual binding propertyAccessExceptions.
 class TypeMismatchException
          Exception thrown on a type mismatch when trying to set a property.
 

Methods in org.springframework.beans that throw BeansException
 void BeanWrapperImpl.setWrappedInstance(java.lang.Object object)
          Switches the target object, replacing the cached introspection results only if the class of the new object is different to that of the replaced object.
 java.lang.Object BeanWrapperImpl.getPropertyValue(java.lang.String propertyName)
           
 void BeanWrapperImpl.setPropertyValue(java.lang.String propertyName, java.lang.Object value)
           
 void BeanWrapperImpl.setPropertyValue(PropertyValue pv)
           
 void BeanWrapperImpl.setPropertyValues(java.util.Map map)
          Bulk update from a Map.
 void BeanWrapperImpl.setPropertyValues(PropertyValues pvs)
           
 void BeanWrapperImpl.setPropertyValues(PropertyValues propertyValues, boolean ignoreUnknown)
           
 java.lang.Object BeanWrapperImpl.doTypeConversionIfNecessary(java.lang.Object newValue, java.lang.Class requiredType)
          Convert the value to the required type (if necessary from a String).
protected  java.lang.Object BeanWrapperImpl.doTypeConversionIfNecessary(java.lang.String propertyName, java.lang.String propertyDescriptor, java.lang.Object oldValue, java.lang.Object newValue, java.lang.Class requiredType)
          Convert the value to the required type (if necessary from a String), for the specified property.
 java.beans.PropertyDescriptor BeanWrapperImpl.getPropertyDescriptor(java.lang.String propertyName)
           
 void BeanWrapper.setWrappedInstance(java.lang.Object obj)
          Change the wrapped object.
 java.lang.Object BeanWrapper.getPropertyValue(java.lang.String propertyName)
          Get the value of a property.
 void BeanWrapper.setPropertyValue(java.lang.String propertyName, java.lang.Object value)
          Set a property value.
 void BeanWrapper.setPropertyValue(PropertyValue pv)
          Update a property value.
 void BeanWrapper.setPropertyValues(java.util.Map map)
          Perform a bulk update from a Map.
 void BeanWrapper.setPropertyValues(PropertyValues pvs)
          The preferred way to perform a bulk update.
 void BeanWrapper.setPropertyValues(PropertyValues pvs, boolean ignoreUnknown)
          Perform a bulk update with full control over behavior.
 java.beans.PropertyDescriptor[] BeanWrapper.getPropertyDescriptors()
          Get the PropertyDescriptors identified on this object (standard JavaBeans introspection).
 java.beans.PropertyDescriptor BeanWrapper.getPropertyDescriptor(java.lang.String propertyName)
          Get the property descriptor for a particular property.
static java.lang.Object BeanUtils.instantiateClass(java.lang.Class clazz)
          Convenience method to instantiate a class using its no-arg constructor.
static java.lang.Object BeanUtils.instantiateClass(java.lang.reflect.Constructor constructor, java.lang.Object[] arguments)
          Convenience method to instantiate a class using the given constructor.
static void BeanUtils.copyProperties(java.lang.Object source, java.lang.Object target)
          Copy the property values of the given source bean into the target bean.
static void BeanUtils.copyProperties(java.lang.Object source, java.lang.Object target, java.lang.String[] ignoreProperties)
          Copy the property values of the given source bean into the given target bean, ignoring the given ignoreProperties.
 

Constructors in org.springframework.beans that throw BeansException
BeanWrapperImpl(java.lang.Object object)
          Create new BeanWrapperImpl for the given object.
BeanWrapperImpl(java.lang.Object object, java.lang.String nestedPath)
          Create new BeanWrapperImpl for the given object, registering a nested path that the object is in.
BeanWrapperImpl(java.lang.Class clazz)
          Create new BeanWrapperImpl, wrapping a new instance of the specified class.
 

Uses of BeansException in org.springframework.beans.factory
 

Subclasses of BeansException in org.springframework.beans.factory
 class BeanCreationException
          Exception thrown when a BeanFactory encounters an error when attempting to create a bean from a bean definition.
 class BeanDefinitionStoreException
          Exception thrown when a BeanFactory encounters an internal error, and its definitions are invalid: for example, if an XML document containing bean definitions isn't well-formed.
 class BeanInitializationException
          Exception that a bean implementation is suggested to throw if its own factory-aware initialization code fails.
 class BeanIsNotAFactoryException
          Exception thrown when a bean is not a factory, but a user tries to get at the factory for the given bean name.
 class BeanNotOfRequiredTypeException
          Thrown when a bean doesn't match the required type.
 class FactoryBeanCircularReferenceException
          Exception thrown if a FactoryBean is involved in a circular reference.
 class NoSuchBeanDefinitionException
          Exception thrown when a BeanFactory is asked for a bean instance name for which it cannot find a definition.
 class UnsatisfiedDependencyException
          Exception thrown when a bean depends on other beans or simple properties that were not specified in the bean factory definition, although dependency checking was enabled.
 

Methods in org.springframework.beans.factory that throw BeansException
 java.util.Map ListableBeanFactory.getBeansOfType(java.lang.Class type, boolean includePrototypes, boolean includeFactoryBeans)
          Return the bean instances that match the given object type (including subclasses), judging from either bean definitions or the value of getObjectType() in the case of FactoryBeans.
static java.util.Map BeanFactoryUtils.beansOfTypeIncludingAncestors(ListableBeanFactory lbf, java.lang.Class type, boolean includePrototypes, boolean includeFactoryBeans)
          Return all beans of the given type or subtypes, also picking up beans defined in ancestor bean factories if the current bean factory is a HierarchicalBeanFactory.
static java.lang.Object BeanFactoryUtils.beanOfTypeIncludingAncestors(ListableBeanFactory lbf, java.lang.Class type, boolean includePrototypes, boolean includeFactoryBeans)
          Return a single bean of the given type or subtypes, also picking up beans defined in ancestor bean factories if the current bean factory is a HierarchicalBeanFactory.
static java.lang.Object BeanFactoryUtils.beanOfType(ListableBeanFactory lbf, java.lang.Class type, boolean includePrototypes, boolean includeFactoryBeans)
          Return a single bean of the given type or subtypes, not looking in ancestor factories.
static java.lang.Object BeanFactoryUtils.beanOfType(ListableBeanFactory lbf, java.lang.Class type)
          Return a single bean of the given type or subtypes, not looking in ancestor factories.
 void BeanFactoryAware.setBeanFactory(BeanFactory beanFactory)
          Callback that supplies the owning factory to a bean instance.
 java.lang.Object BeanFactory.getBean(java.lang.String name)
          Return an instance (possibly shared or independent) of the given bean name.
 java.lang.Object BeanFactory.getBean(java.lang.String name, java.lang.Class requiredType)
          Return an instance (possibly shared or independent) of the given bean name.
 

Uses of BeansException in org.springframework.beans.factory.access
 

Subclasses of BeansException in org.springframework.beans.factory.access
 class BootstrapException
          Exception thrown if a bean factory could not be loaded by a bootstrap class.
 

Methods in org.springframework.beans.factory.access that throw BeansException
 BeanFactoryReference SingletonBeanFactoryLocator.useBeanFactory(java.lang.String factoryKey)
           
protected  BeanFactory SingletonBeanFactoryLocator.createDefinition(java.lang.String[] resources)
          Actually creates definition in the form of a BeanFactory, given an array of URLs representing resources which should be combined.
protected  void SingletonBeanFactoryLocator.destroyDefinition(BeanFactory groupDef, java.lang.String resourceName)
          Destroy definition in separate method so subclass may work with other definition types
 BeanFactoryReference JndiBeanFactoryLocator.useBeanFactory(java.lang.String factoryKey)
          Load/use a bean factory, as specified by a factoryKey which is a JNDI address, of the form java:comp/env/ejb/BeanFactoryPath.
protected  BeanFactoryReference JndiBeanFactoryLocator.createBeanFactory(java.lang.String[] resources)
          Actually create the BeanFactory, given an array of classpath resource strings which should be combined.
 BeanFactoryReference BeanFactoryLocator.useBeanFactory(java.lang.String factoryKey)
          Use the BeanFactory (or derived class such as ApplicationContext) specified by the factoryKey parameter.
static BeanFactoryBootstrap BeanFactoryBootstrap.getInstance()
          Return the singleton instance of the bootstrap factory
 

Uses of BeansException in org.springframework.beans.factory.config
 

Methods in org.springframework.beans.factory.config that throw BeansException
 void PropertyResourceConfigurer.postProcessBeanFactory(ConfigurableListableBeanFactory beanFactory)
           
protected abstract  void PropertyResourceConfigurer.processProperties(ConfigurableListableBeanFactory beanFactory, java.util.Properties props)
          Apply the given Properties to the bean factory.
protected  void PropertyPlaceholderConfigurer.processProperties(ConfigurableListableBeanFactory beanFactory, java.util.Properties props)
           
protected  java.lang.String PropertyPlaceholderConfigurer.parseString(java.util.Properties props, java.lang.String strVal, java.lang.String originalPlaceholder)
          Parse values recursively to be able to resolve cross-references between placeholder values.
protected  void PropertyOverrideConfigurer.processProperties(ConfigurableListableBeanFactory beanFactory, java.util.Properties props)
           
protected  void PropertyOverrideConfigurer.processKey(ConfigurableListableBeanFactory factory, java.lang.String key, java.lang.String value)
          Process the given key as 'beanName.property' entry.
 void CustomEditorConfigurer.postProcessBeanFactory(ConfigurableListableBeanFactory beanFactory)
           
 BeanDefinition ConfigurableBeanFactory.getBeanDefinition(java.lang.String beanName)
          Return the registered BeanDefinition for the given bean.
 void ConfigurableBeanFactory.registerAlias(java.lang.String beanName, java.lang.String alias)
          Given a bean name, create an alias.
 void ConfigurableBeanFactory.registerSingleton(java.lang.String beanName, java.lang.Object singletonObject)
          Register the given existing object as singleton in the bean factory, under the given bean name.
 java.lang.Object BeanPostProcessor.postProcessBeforeInitialization(java.lang.Object bean, java.lang.String name)
          Apply this BeanPostProcessor to the given new bean instance before any bean initialization callbacks (like InitializingBean's afterPropertiesSet or a custom init-method).
 java.lang.Object BeanPostProcessor.postProcessAfterInitialization(java.lang.Object bean, java.lang.String name)
          Apply this BeanPostProcessor to the given new bean instance after any bean initialization callbacks (like InitializingBean's afterPropertiesSet or a custom init-method).
 void BeanFactoryPostProcessor.postProcessBeanFactory(ConfigurableListableBeanFactory beanFactory)
          Modify the application context's internal bean factory after its standard initialization.
 java.lang.Object AutowireCapableBeanFactory.autowire(java.lang.Class beanClass, int autowireMode, boolean dependencyCheck)
          Create a new bean instance of the given class with the specified autowire strategy.
 void AutowireCapableBeanFactory.autowireBeanProperties(java.lang.Object existingBean, int autowireMode, boolean dependencyCheck)
          Autowire the bean properties of the given bean instance by name or type.
 java.lang.Object AutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(java.lang.Object existingBean, java.lang.String name)
          Apply BeanPostProcessors to the given existing bean instance, invoking their postProcessBeforeInitialization methods.
 java.lang.Object AutowireCapableBeanFactory.applyBeanPostProcessorsAfterInitialization(java.lang.Object existingBean, java.lang.String name)
          Apply BeanPostProcessors to the given existing bean instance, invoking their postProcessAfterInitialization methods.
 

Uses of BeansException in org.springframework.beans.factory.support
 

Subclasses of BeansException in org.springframework.beans.factory.support
 class BeanDefinitionValidationException
          Exception thrown when the validation of a bean definition failed.
 

Methods in org.springframework.beans.factory.support that throw BeansException
 java.lang.Object StaticListableBeanFactory.getBean(java.lang.String name)
           
 java.lang.Object StaticListableBeanFactory.getBean(java.lang.String name, java.lang.Class requiredType)
           
 int PropertiesBeanDefinitionReader.registerBeanDefinitions(java.util.Map m)
          Register bean definitions contained in a Map, using all property keys (i.e.
 int PropertiesBeanDefinitionReader.registerBeanDefinitions(java.util.Map m, java.lang.String prefix)
          Register bean definitions contained in a Map.
 int PropertiesBeanDefinitionReader.registerBeanDefinitions(java.util.Map m, java.lang.String prefix, java.lang.String resourceDescription)
          Register bean definitions contained in a Map.
protected  void PropertiesBeanDefinitionReader.registerBeanDefinition(java.lang.String beanName, java.util.Map m, java.lang.String prefix, java.lang.String resourceDescription)
          Get all property values, given a prefix (which will be stripped) and add the bean they define to the factory with the given name
 java.util.Map DefaultListableBeanFactory.getBeansOfType(java.lang.Class type, boolean includePrototypes, boolean includeFactoryBeans)
           
 BeanDefinition DefaultListableBeanFactory.getBeanDefinition(java.lang.String beanName)
           
protected  java.lang.String[] DefaultListableBeanFactory.getDependingBeanNames(java.lang.String beanName)
           
 BeanDefinition BeanDefinitionRegistry.getBeanDefinition(java.lang.String name)
          Return the BeanDefinition for the given bean name.
 void BeanDefinitionRegistry.registerBeanDefinition(java.lang.String name, BeanDefinition beanDefinition)
          Register a new bean definition with this registry.
 void BeanDefinitionRegistry.registerAlias(java.lang.String name, java.lang.String alias)
          Given a bean name, create an alias.
 java.lang.Object AbstractBeanFactory.getBean(java.lang.String name)
          Return the bean with the given name, checking the parent bean factory if not found.
 java.lang.Object AbstractBeanFactory.getBean(java.lang.String name, java.lang.Class requiredType)
           
 RootBeanDefinition AbstractBeanFactory.getMergedBeanDefinition(java.lang.String beanName, boolean includingAncestors)
          Return a RootBeanDefinition, even by traversing parent if the parameter is a child definition.
abstract  BeanDefinition AbstractBeanFactory.getBeanDefinition(java.lang.String beanName)
          Return the bean definition for the given bean name.
protected abstract  java.lang.Object AbstractBeanFactory.createBean(java.lang.String beanName, RootBeanDefinition mergedBeanDefinition)
          Create a bean instance for the given bean definition.
 java.lang.Object AbstractAutowireCapableBeanFactory.autowire(java.lang.Class beanClass, int autowireMode, boolean dependencyCheck)
           
 void AbstractAutowireCapableBeanFactory.autowireBeanProperties(java.lang.Object existingBean, int autowireMode, boolean dependencyCheck)
           
 java.lang.Object AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(java.lang.Object bean, java.lang.String name)
           
 java.lang.Object AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsAfterInitialization(java.lang.Object bean, java.lang.String name)
           
protected  java.lang.Object AbstractAutowireCapableBeanFactory.createBean(java.lang.String beanName, RootBeanDefinition mergedBeanDefinition)
           
protected  BeanWrapper AbstractAutowireCapableBeanFactory.autowireConstructor(java.lang.String beanName, RootBeanDefinition mergedBeanDefinition)
          "autowire constructor" (with constructor arguments by type) behaviour.
protected  void AbstractAutowireCapableBeanFactory.applyPropertyValues(java.lang.String beanName, RootBeanDefinition mergedBeanDefinition, BeanWrapper bw, PropertyValues pvs)
          Apply the given property values, resolving any runtime references to other beans in this bean factory.
protected  java.lang.Object AbstractAutowireCapableBeanFactory.resolveValueIfNecessary(java.lang.String beanName, RootBeanDefinition mergedBeanDefinition, java.lang.String argName, java.lang.Object value)
          Given a PropertyValue, return a value, resolving any references to other beans in the factory if necessary.
protected  java.lang.Object AbstractAutowireCapableBeanFactory.resolveReference(RootBeanDefinition mergedBeanDefinition, java.lang.String beanName, java.lang.String argName, RuntimeBeanReference ref)
          Resolve a reference to another bean in the factory.
protected  java.util.List AbstractAutowireCapableBeanFactory.resolveManagedList(java.lang.String beanName, RootBeanDefinition mergedBeanDefinition, java.lang.String argName, ManagedList ml)
          For each element in the ManagedList, resolve reference if necessary.
protected  java.util.Set AbstractAutowireCapableBeanFactory.resolveManagedSet(java.lang.String beanName, RootBeanDefinition mergedBeanDefinition, java.lang.String argName, ManagedSet ms)
          For each element in the ManagedList, resolve reference if necessary.
protected  java.util.Map AbstractAutowireCapableBeanFactory.resolveManagedMap(java.lang.String beanName, RootBeanDefinition mergedBeanDefinition, java.lang.String argName, ManagedMap mm)
          For each element in the ManagedMap, resolve reference if necessary.
protected abstract  java.util.Map AbstractAutowireCapableBeanFactory.findMatchingBeans(java.lang.Class requiredType)
          Find bean instances that match the required type.
protected abstract  java.lang.String[] AbstractAutowireCapableBeanFactory.getDependingBeanNames(java.lang.String beanName)
          Return the names of the beans that depend on the given bean.
 

Uses of BeansException in org.springframework.beans.factory.xml
 

Methods in org.springframework.beans.factory.xml that throw BeansException
 void XmlBeanDefinitionReader.loadBeanDefinitions(Resource resource)
          Load bean definitions from the specified XML file.
 void XmlBeanDefinitionReader.registerBeanDefinitions(org.w3c.dom.Document doc, Resource resource)
          Register the bean definitions contained in the given DOM document.
 void XmlBeanDefinitionParser.registerBeanDefinitions(BeanDefinitionRegistry beanFactory, java.lang.ClassLoader beanClassLoader, org.w3c.dom.Document doc, Resource resource)
          Parse bean definitions from the given DOM document, and register them with the given bean factory.
 

Constructors in org.springframework.beans.factory.xml that throw BeansException
XmlBeanFactory(Resource resource)
          Create a new XmlBeanFactory with the given resource, which must be parsable using DOM.
XmlBeanFactory(java.io.InputStream is)
          Create a new XmlBeanFactory with the given InputStream, which must be parsable using DOM.
XmlBeanFactory(Resource resource, BeanFactory parentBeanFactory)
          Create a new XmlBeanFactory with the given input stream, which must be parsable using DOM.
 

Uses of BeansException in org.springframework.beans.support
 

Methods in org.springframework.beans.support that throw BeansException
static void PropertyComparator.sort(java.util.List source, SortDefinition sortDefinition)
          Sorts the given List according to the given sort definition.
static void PropertyComparator.sort(java.lang.Object[] source, SortDefinition sortDefinition)
          Sorts the given source according to the given sort definition.
 

Uses of BeansException in org.springframework.context
 

Subclasses of BeansException in org.springframework.context
 class ApplicationContextException
          Exception thrown during application context initialization.
 

Methods in org.springframework.context that throw BeansException
 void ConfigurableApplicationContext.refresh()
          Load or refresh the persistent representation of the configuration, which might an XML file, properties file, or relational database schema.
 void ApplicationContextAware.setApplicationContext(ApplicationContext context)
          Set the ApplicationContext that this object runs in.
 

Uses of BeansException in org.springframework.context.access
 

Methods in org.springframework.context.access that throw BeansException
static BeanFactoryLocator ContextSingletonBeanFactoryLocator.getInstance()
          Returns an instance which uses the default "beanRefContext.xml", as the name of the definition file(s).
static BeanFactoryLocator ContextSingletonBeanFactoryLocator.getInstance(java.lang.String selector)
          Returns an instance which uses the the specified selector, as the name of the definition file(s).
protected  BeanFactory ContextSingletonBeanFactoryLocator.createDefinition(java.lang.String[] resources)
          Overrides default method to create definition object as an ApplicationContext instead of the default BeanFactory.
protected  void ContextSingletonBeanFactoryLocator.destroyDefinition(BeanFactory groupDef, java.lang.String resourceName)
          Overrides default method to work with ApplicationContext
protected  BeanFactoryReference ContextJndiBeanFactoryLocator.createBeanFactory(java.lang.String[] resources)
           
 

Uses of BeansException in org.springframework.context.support
 

Methods in org.springframework.context.support that throw BeansException
 void StaticApplicationContext.registerSingleton(java.lang.String name, java.lang.Class clazz, MutablePropertyValues pvs)
          Register a singleton bean with the default bean factory.
 void StaticApplicationContext.registerPrototype(java.lang.String name, java.lang.Class clazz, MutablePropertyValues pvs)
          Register a prototype bean with the default bean factory.
 void ApplicationObjectSupport.setApplicationContext(ApplicationContext context)
           
protected  void ApplicationObjectSupport.initApplicationContext()
          Subclasses can override this for custom initialization behavior.
 java.lang.Object ApplicationContextAwareProcessor.postProcessBeforeInitialization(java.lang.Object bean, java.lang.String name)
           
protected  void AbstractXmlApplicationContext.refreshBeanFactory()
           
protected  void AbstractXmlApplicationContext.loadBeanDefinitions(XmlBeanDefinitionReader reader)
          Load the bean definitions with the given XmlBeanDefinitionReader.
 void AbstractApplicationContext.refresh()
          Load or reload configuration.
protected  void AbstractApplicationContext.postProcessBeanFactory(ConfigurableListableBeanFactory beanFactory)
          Modify the application context's internal bean factory after its standard initialization.
protected  void AbstractApplicationContext.onRefresh()
          Template method which can be overridden to add context-specific refresh work.
 java.lang.Object AbstractApplicationContext.getBean(java.lang.String name)
           
 java.lang.Object AbstractApplicationContext.getBean(java.lang.String name, java.lang.Class requiredType)
           
 java.util.Map AbstractApplicationContext.getBeansOfType(java.lang.Class type, boolean includePrototypes, boolean includeFactoryBeans)
           
protected abstract  void AbstractApplicationContext.refreshBeanFactory()
          Subclasses must implement this method to perform the actual configuration load.
 

Constructors in org.springframework.context.support that throw BeansException
StaticApplicationContext()
          Create new StaticApplicationContext.
StaticApplicationContext(ApplicationContext parent)
          Create new StaticApplicationContext with the given parent.
FileSystemXmlApplicationContext(java.lang.String configLocation)
          Create a new FileSystemXmlApplicationContext, loading the definitions from the given XML file.
FileSystemXmlApplicationContext(java.lang.String[] configLocations)
          Create a new FileSystemXmlApplicationContext, loading the definitions from the given XML files.
FileSystemXmlApplicationContext(java.lang.String[] configLocations, ApplicationContext parent)
          Create a new FileSystemXmlApplicationContext with the given parent, loading the definitions from the given XML files.
ClassPathXmlApplicationContext(java.lang.String configLocation)
          Create a new ClassPathXmlApplicationContext, loading the definitions from the given XML file.
ClassPathXmlApplicationContext(java.lang.String[] configLocations)
          Create a new ClassPathXmlApplicationContext, loading the definitions from the given XML files.
ClassPathXmlApplicationContext(java.lang.String[] configLocations, ApplicationContext parent)
          Create a new ClassPathXmlApplicationContext with the given parent, loading the definitions from the given XML files.
 

Uses of BeansException in org.springframework.ejb.support
 

Methods in org.springframework.ejb.support that throw BeansException
protected  void AbstractStatefulSessionBean.loadBeanFactory()
          Load a Spring BeanFactory namespace.
 

Uses of BeansException in org.springframework.web.context
 

Methods in org.springframework.web.context that throw BeansException
 WebApplicationContext ContextLoader.initWebApplicationContext(javax.servlet.ServletContext servletContext)
          Initialize Spring's web application context for the given servlet context, regarding the "contextClass" and "contextConfigLocation" context-params.
protected  WebApplicationContext ContextLoader.createWebApplicationContext(javax.servlet.ServletContext servletContext, ApplicationContext parent)
          Instantiate the root WebApplicationContext for this loader, either a default XmlWebApplicationContext or a custom context class if specified.
protected  ApplicationContext ContextLoader.loadParentContext(javax.servlet.ServletContext servletContext)
          Template method which may be overridden by a subclass to load or obtain an ApplicationContext instance which will be used as the parent context of the root WebApplicationContext if it is not null.
 

Uses of BeansException in org.springframework.web.context.support
 

Methods in org.springframework.web.context.support that throw BeansException
 void XmlWebApplicationContext.refresh()
           
 void StaticWebApplicationContext.refresh()
           
 java.lang.Object ServletContextAwareProcessor.postProcessBeforeInitialization(java.lang.Object bean, java.lang.String name)
           
 

Uses of BeansException in org.springframework.web.servlet
 

Methods in org.springframework.web.servlet that throw BeansException
protected  void FrameworkServlet.initServletBean()
          Overridden method of HttpServletBean, invoked after any bean properties have been set.
protected  WebApplicationContext FrameworkServlet.initWebApplicationContext()
          Initialize and publish the WebApplicationContext for this servlet.
protected  WebApplicationContext FrameworkServlet.createWebApplicationContext(WebApplicationContext parent)
          Instantiate the WebApplicationContext for this servlet, either a default XmlWebApplicationContext or a custom context class if set.
protected  void FrameworkServlet.initFrameworkServlet()
          This method will be invoked after any bean properties have been set and the WebApplicationContext has been loaded.
protected  void DispatcherServlet.initFrameworkServlet()
          Overridden method, invoked after any bean properties have been set and the WebApplicationContext and BeanFactory for this namespace is available.
 

Uses of BeansException in org.springframework.web.servlet.handler
 

Methods in org.springframework.web.servlet.handler that throw BeansException
 void SimpleUrlHandlerMapping.initApplicationContext()
           
protected  java.lang.Object AbstractUrlHandlerMapping.getHandlerInternal(javax.servlet.http.HttpServletRequest request)
          Look up a handler for the URL path of the given request.
protected  java.lang.Object AbstractUrlHandlerMapping.lookupHandler(java.lang.String urlPath)
          Look up a handler instance for the given URL path.
protected  void AbstractUrlHandlerMapping.registerHandler(java.lang.String urlPath, java.lang.Object handler)
          Register the given handler instance for the given URL path.
 

Uses of BeansException in org.springframework.web.servlet.view
 

Methods in org.springframework.web.servlet.view that throw BeansException
protected  void XmlViewResolver.initApplicationContext()
          Pre-initialize the factory from the XML file.
protected  View XmlViewResolver.loadView(java.lang.String viewName, java.util.Locale locale)
           
protected  BeanFactory XmlViewResolver.initFactory()
          Initialize the BeanFactory from the XML file.
protected  View ResourceBundleViewResolver.loadView(java.lang.String viewName, java.util.Locale locale)
           
protected  BeanFactory ResourceBundleViewResolver.initFactory(java.util.Locale locale)
          Initialize the BeanFactory from the ResourceBundle, for the given locale.
 View BeanNameViewResolver.resolveViewName(java.lang.String viewName, java.util.Locale locale)
           
 

Uses of BeansException in org.springframework.web.servlet.view.freemarker
 

Methods in org.springframework.web.servlet.view.freemarker that throw BeansException
protected  void FreeMarkerView.initApplicationContext()
          Invoked on startup.
 

Uses of BeansException in org.springframework.web.servlet.view.velocity
 

Methods in org.springframework.web.servlet.view.velocity that throw BeansException
protected  void VelocityView.initApplicationContext()
          Invoked on startup.
 



Copyright (C) 2003-2004 The Spring Framework Project.