Uses of Class
org.springframework.beans.BeansException
Packages that use BeansException
Package
Description
This package contains interfaces and classes for manipulating Java beans.
The core package implementing Spring's lightweight Inversion of Control (IoC) container.
Support package for annotation-driven bean configuration.
SPI interfaces and configuration-related convenience classes for bean factories.
Support infrastructure for bean definition parsing.
Classes supporting the
org.springframework.beans.factory package.Contains an abstract XML-based
BeanFactory implementation,
including a standard "spring-beans" XSD.Classes supporting the org.springframework.beans package,
such as utility classes for sorting and holding lists of beans.
-
Uses of BeansException in org.springframework.beans
Subclasses of BeansException in org.springframework.beansModifier and TypeClassDescriptionclassException thrown when instantiation of a bean failed.classException thrown when no suitable editor or converter can be found for a bean property.classThrown on an unrecoverable problem encountered in the beans packages or sub-packages, for example, bad class or field.classException thrown when referring to an invalid bean property.classThrown when a bean property getter or setter method throws an exception, analogous to an InvocationTargetException.classException thrown on an attempt to get the value of a property that isn't readable, because there's no getter method.classException thrown on an attempt to set the value of a property that is not writable (typically because there is no setter method).classException thrown when navigation of a valid nested property path encounters a NullPointerException.classSuperclass for exceptions related to a property access, such as type mismatch or invocation target exception.classCombined exception, composed of individual PropertyAccessException instances.classException thrown on a type mismatch when trying to set a bean property.Methods in org.springframework.beans that throw BeansExceptionModifier and TypeMethodDescriptionstatic voidBeanUtils.copyProperties(Object source, Object target) Copy the property values of the given source bean into the target bean.static voidBeanUtils.copyProperties(Object source, Object target, Class<?> editable) Copy the property values of the given source bean into the given target bean, only setting properties defined in the given "editable" class (or interface).static voidBeanUtils.copyProperties(Object source, Object target, String... ignoreProperties) Copy the property values of the given source bean into the given target bean, ignoring the given "ignoreProperties".static PropertyDescriptorBeanUtils.findPropertyForMethod(Method method) Find a JavaBeansPropertyDescriptorfor the given method, with the method either being the read method or the write method for that bean property.static PropertyDescriptorBeanUtils.findPropertyForMethod(Method method, Class<?> clazz) Find a JavaBeansPropertyDescriptorfor the given method, with the method either being the read method or the write method for that bean property.static PropertyDescriptorBeanUtils.getPropertyDescriptor(Class<?> clazz, String propertyName) Retrieve the JavaBeansPropertyDescriptorsfor the given property.static PropertyDescriptor[]BeanUtils.getPropertyDescriptors(Class<?> clazz) Retrieve the JavaBeansPropertyDescriptors of a given class.AbstractNestablePropertyAccessor.getPropertyHandler(String propertyName) Return theAbstractNestablePropertyAccessor.PropertyHandlerfor the specifiedpropertyName, navigating if necessary.Class<?>AbstractNestablePropertyAccessor.getPropertyType(String propertyName) Class<?>PropertyAccessor.getPropertyType(String propertyName) Determine the property type for the specified property, either checking the property descriptor or checking the value in case of an indexed or mapped element.org.springframework.core.convert.TypeDescriptorAbstractNestablePropertyAccessor.getPropertyTypeDescriptor(String propertyName) org.springframework.core.convert.TypeDescriptorPropertyAccessor.getPropertyTypeDescriptor(String propertyName) Return a type descriptor for the specified property: preferably from the read method, falling back to the write method.AbstractNestablePropertyAccessor.getPropertyValue(String propertyName) protected ObjectAbstractNestablePropertyAccessor.getPropertyValue(AbstractNestablePropertyAccessor.PropertyTokenHolder tokens) abstract ObjectAbstractPropertyAccessor.getPropertyValue(String propertyName) Actually get the value of a property.PropertyAccessor.getPropertyValue(String propertyName) Get the current value of the specified property.voidAbstractNestablePropertyAccessor.setPropertyValue(String propertyName, Object value) protected voidAbstractNestablePropertyAccessor.setPropertyValue(AbstractNestablePropertyAccessor.PropertyTokenHolder tokens, PropertyValue pv) voidAbstractNestablePropertyAccessor.setPropertyValue(PropertyValue pv) abstract voidAbstractPropertyAccessor.setPropertyValue(String propertyName, Object value) Actually set a property value.voidAbstractPropertyAccessor.setPropertyValue(PropertyValue pv) voidPropertyAccessor.setPropertyValue(String propertyName, Object value) Set the specified value as current property value.voidPropertyAccessor.setPropertyValue(PropertyValue pv) Set the specified value as current property value.voidAbstractPropertyAccessor.setPropertyValues(Map<?, ?> map) voidAbstractPropertyAccessor.setPropertyValues(PropertyValues pvs) voidAbstractPropertyAccessor.setPropertyValues(PropertyValues pvs, boolean ignoreUnknown) voidAbstractPropertyAccessor.setPropertyValues(PropertyValues pvs, boolean ignoreUnknown, boolean ignoreInvalid) voidPropertyAccessor.setPropertyValues(Map<?, ?> map) Perform a batch update from a Map.voidPropertyAccessor.setPropertyValues(PropertyValues pvs) The preferred way to perform a batch update.voidPropertyAccessor.setPropertyValues(PropertyValues pvs, boolean ignoreUnknown) Perform a batch update with more control over behavior.voidPropertyAccessor.setPropertyValues(PropertyValues pvs, boolean ignoreUnknown, boolean ignoreInvalid) Perform a batch update with full control over behavior. -
Uses of BeansException in org.springframework.beans.factory
Subclasses of BeansException in org.springframework.beans.factoryModifier and TypeClassDescriptionclassException thrown when a BeanFactory encounters an error when attempting to create a bean from a bean definition.classException thrown in case of a bean being requested despite bean creation currently not being allowed (for example, during the shutdown phase of a bean factory).classException thrown in case of a reference to a bean that's currently in creation.classException thrown when a BeanFactory encounters an invalid bean definition: for example, in case of incomplete or contradictory bean metadata.classException that indicates an expression evaluation attempt having failed.classException that a bean implementation is suggested to throw if its own factory-aware initialization code fails.classException thrown when a bean instance has been requested for a bean definition which has been marked as abstract.classException thrown when a bean is not a factory, but a user tries to get at the factory for the given bean name.classThrown when a bean doesn't match the expected type.classException thrown when the BeanFactory cannot load the specified class of a given bean.classException to be thrown from a FactoryBean'sgetObject()method if the bean is not fully initialized yet, for example because it is involved in a circular reference.classException thrown when aBeanFactoryis asked for a bean instance for which it cannot find a definition.classException thrown when aBeanFactoryis asked for a bean instance for which multiple matching candidates have been found when only one matching bean was expected.classException 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 BeansExceptionModifier and TypeMethodDescriptionstatic <T> TBeanFactoryUtils.beanOfType(ListableBeanFactory lbf, Class<T> type) Return a single bean of the given type or subtypes, not looking in ancestor factories.static <T> TBeanFactoryUtils.beanOfType(ListableBeanFactory lbf, Class<T> type, boolean includeNonSingletons, boolean allowEagerInit) Return a single bean of the given type or subtypes, not looking in ancestor factories.static <T> TBeanFactoryUtils.beanOfTypeIncludingAncestors(ListableBeanFactory lbf, Class<T> type) 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 <T> TBeanFactoryUtils.beanOfTypeIncludingAncestors(ListableBeanFactory lbf, Class<T> type, boolean includeNonSingletons, boolean allowEagerInit) 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.BeanFactoryUtils.beansOfTypeIncludingAncestors(ListableBeanFactory lbf, Class<T> type) 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.BeanFactoryUtils.beansOfTypeIncludingAncestors(ListableBeanFactory lbf, Class<T> type, boolean includeNonSingletons, boolean allowEagerInit) 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.<T> TReturn the bean instance that uniquely matches the given object type, if any.<T> TReturn an instance, which may be shared or independent, of the specified bean.Return an instance, which may be shared or independent, of the specified bean.<T> TReturn an instance, which may be shared or independent, of the specified bean.Return an instance, which may be shared or independent, of the specified bean.ListableBeanFactory.getBeansOfType(Class<T> type) Return the bean instances that match the given object type (including subclasses), judging from either bean definitions or the value ofgetObjectTypein the case of FactoryBeans.ListableBeanFactory.getBeansOfType(Class<T> type, boolean includeNonSingletons, boolean allowEagerInit) Return the bean instances that match the given object type (including subclasses), judging from either bean definitions or the value ofgetObjectTypein the case of FactoryBeans.ListableBeanFactory.getBeansWithAnnotation(Class<? extends Annotation> annotationType) Find all beans which are annotated with the suppliedAnnotationtype, returning a Map of bean names with corresponding bean instances.default TObjectProvider.getIfAvailable()Return an instance (possibly shared or independent) of the object managed by this factory.default TObjectProvider.getIfAvailable(Supplier<T> defaultSupplier) Return an instance (possibly shared or independent) of the object managed by this factory.default TObjectProvider.getIfUnique()Return an instance (possibly shared or independent) of the object managed by this factory.default TObjectProvider.getIfUnique(Supplier<T> defaultSupplier) Return an instance (possibly shared or independent) of the object managed by this factory.ObjectFactory.getObject()Return an instance (possibly shared or independent) of the object managed by this factory.default TObjectProvider.getObject()default TReturn an instance (possibly shared or independent) of the object managed by this factory.default voidObjectProvider.ifAvailable(Consumer<T> dependencyConsumer) Consume an instance (possibly shared or independent) of the object managed by this factory, if available.default voidConsume an instance (possibly shared or independent) of the object managed by this factory, if unique.voidBeanFactoryAware.setBeanFactory(BeanFactory beanFactory) Callback that supplies the owning factory to a bean instance.Constructors in org.springframework.beans.factory with parameters of type BeansExceptionModifierConstructorDescriptionUnsatisfiedDependencyException(String resourceDescription, String beanName, String propertyName, BeansException ex) Create a new UnsatisfiedDependencyException.UnsatisfiedDependencyException(String resourceDescription, String beanName, InjectionPoint injectionPoint, BeansException ex) Create a new UnsatisfiedDependencyException. -
Uses of BeansException in org.springframework.beans.factory.annotation
Methods in org.springframework.beans.factory.annotation that throw BeansExceptionModifier and TypeMethodDescriptionInitDestroyAnnotationBeanPostProcessor.postProcessAfterInitialization(Object bean, String beanName) voidCustomAutowireConfigurer.postProcessBeanFactory(ConfigurableListableBeanFactory beanFactory) voidInitDestroyAnnotationBeanPostProcessor.postProcessBeforeDestruction(Object bean, String beanName) InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(Object bean, String beanName) static <T> TBeanFactoryAnnotationUtils.qualifiedBeanOfType(BeanFactory beanFactory, Class<T> beanType, String qualifier) Obtain a bean of typeTfrom the givenBeanFactorydeclaring a qualifier (for example, via<qualifier>or@Qualifier) matching the given qualifier, or having a bean name matching the given qualifier.BeanFactoryAnnotationUtils.qualifiedBeansOfType(ListableBeanFactory beanFactory, Class<T> beanType, String qualifier) Retrieve all beans of typeTfrom the givenBeanFactorydeclaring a qualifier (for example, via<qualifier>or@Qualifier) matching the given qualifier, or having a bean name matching the given qualifier.static ObjectParameterResolutionDelegate.resolveDependency(Parameter parameter, int parameterIndex, Class<?> containingClass, AutowireCapableBeanFactory beanFactory) Resolve the dependency for the suppliedParameterfrom the suppliedAutowireCapableBeanFactory. -
Uses of BeansException in org.springframework.beans.factory.config
Methods in org.springframework.beans.factory.config with parameters of type BeansExceptionModifier and TypeMethodDescriptionprotected ExceptionServiceLocatorFactoryBean.createServiceLocatorException(Constructor<Exception> exceptionConstructor, BeansException cause) Create a service locator exception for the given cause.Methods in org.springframework.beans.factory.config that throw BeansExceptionModifier and TypeMethodDescriptionAutowireCapableBeanFactory.applyBeanPostProcessorsAfterInitialization(Object existingBean, String beanName) Deprecated.AutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(Object existingBean, String beanName) Deprecated.as of 6.1, in favor of implicit post-processing throughAutowireCapableBeanFactory.initializeBean(Object, String)voidAutowireCapableBeanFactory.applyBeanPropertyValues(Object existingBean, String beanName) Apply the property values of the bean definition with the given name to the given bean instance.Instantiate a new bean instance of the given class with the specified autowire strategy.voidAutowireCapableBeanFactory.autowireBean(Object existingBean) Populate the given bean instance through applying after-instantiation callbacks and bean property post-processing (for example, for annotation-driven injection).voidAutowireCapableBeanFactory.autowireBeanProperties(Object existingBean, int autowireMode, boolean dependencyCheck) Autowire the bean properties of the given bean instance by name or type.AutowireCapableBeanFactory.configureBean(Object existingBean, String beanName) Configure the given raw bean: autowiring bean properties, applying bean property values, applying factory callbacks such assetBeanNameandsetBeanFactory, and also applying all bean post processors (including ones which might wrap the given raw bean).AutowireCapableBeanFactory.createBean(Class<?> beanClass, int autowireMode, boolean dependencyCheck) Deprecated.as of 6.1, in favor ofAutowireCapableBeanFactory.createBean(Class)<T> TAutowireCapableBeanFactory.createBean(Class<T> beanClass) Fully create a new bean instance of the given class.default Class<?>SmartInstantiationAwareBeanPostProcessor.determineBeanType(Class<?> beanClass, String beanName) Determine the type of the bean to be eventually returned from this processor'sInstantiationAwareBeanPostProcessor.postProcessBeforeInstantiation(java.lang.Class<?>, java.lang.String)callback.default Constructor<?>[]SmartInstantiationAwareBeanPostProcessor.determineCandidateConstructors(Class<?> beanClass, String beanName) Determine the candidate constructors to use for the given bean.BeanExpressionResolver.evaluate(String value, BeanExpressionContext beanExpressionContext) Evaluate the given value as an expression, if applicable; return the value as-is otherwise.default ObjectSmartInstantiationAwareBeanPostProcessor.getEarlyBeanReference(Object bean, String beanName) Obtain a reference for early access to the specified bean, typically for the purpose of resolving a circular reference.PropertyPathFactoryBean.getObject()AutowireCapableBeanFactory.initializeBean(Object existingBean, String beanName) Initialize the given raw bean, applying factory callbacks such assetBeanNameandsetBeanFactory, also applying all bean post processors (including ones which might wrap the given raw bean).default ObjectBeanPostProcessor.postProcessAfterInitialization(Object bean, String beanName) Apply thisBeanPostProcessorto the given new bean instance after any bean initialization callbacks (like InitializingBean'safterPropertiesSetor a custom init-method).default booleanInstantiationAwareBeanPostProcessor.postProcessAfterInstantiation(Object bean, String beanName) Perform operations after the bean has been instantiated, via a constructor or factory method, but before Spring property population (from explicit properties or autowiring) occurs.voidBeanFactoryPostProcessor.postProcessBeanFactory(ConfigurableListableBeanFactory beanFactory) Modify the application context's internal bean factory after its standard initialization.voidCustomEditorConfigurer.postProcessBeanFactory(ConfigurableListableBeanFactory beanFactory) voidCustomScopeConfigurer.postProcessBeanFactory(ConfigurableListableBeanFactory beanFactory) voidDeprecatedBeanWarner.postProcessBeanFactory(ConfigurableListableBeanFactory beanFactory) voidPropertyResourceConfigurer.postProcessBeanFactory(ConfigurableListableBeanFactory beanFactory) voidDestructionAwareBeanPostProcessor.postProcessBeforeDestruction(Object bean, String beanName) Apply this BeanPostProcessor to the given bean instance before its destruction, for example, invoking custom destruction callbacks.default ObjectBeanPostProcessor.postProcessBeforeInitialization(Object bean, String beanName) Apply thisBeanPostProcessorto the given new bean instance before any bean initialization callbacks (like InitializingBean'safterPropertiesSetor a custom init-method).default ObjectInstantiationAwareBeanPostProcessor.postProcessBeforeInstantiation(Class<?> beanClass, String beanName) Apply this BeanPostProcessor before the target bean gets instantiated.default PropertyValuesInstantiationAwareBeanPostProcessor.postProcessProperties(PropertyValues pvs, Object bean, String beanName) Post-process the given property values before the factory applies them to the given bean.default Class<?>SmartInstantiationAwareBeanPostProcessor.predictBeanType(Class<?> beanClass, String beanName) Predict the type of the bean to be eventually returned from this processor'sInstantiationAwareBeanPostProcessor.postProcessBeforeInstantiation(java.lang.Class<?>, java.lang.String)callback.voidConfigurableListableBeanFactory.preInstantiateSingletons()Ensure that all non-lazy-init singletons are instantiated, also consideringFactoryBeans.protected voidPropertyOverrideConfigurer.processKey(ConfigurableListableBeanFactory factory, String key, String value) Process the given key as 'beanName.property' entry.protected voidPropertyOverrideConfigurer.processProperties(ConfigurableListableBeanFactory beanFactory, Properties props) protected voidPropertyPlaceholderConfigurer.processProperties(ConfigurableListableBeanFactory beanFactoryToProcess, Properties props) Deprecated.Visit each bean definition in the given bean factory and attempt to replace ${...} property placeholders with values from the given properties.protected abstract voidPropertyResourceConfigurer.processProperties(ConfigurableListableBeanFactory beanFactory, Properties props) Apply the given Properties to the given BeanFactory.AutowireCapableBeanFactory.resolveBeanByName(String name, DependencyDescriptor descriptor) Resolve a bean instance for the given bean name, providing a dependency descriptor for exposure to target factory methods.DependencyDescriptor.resolveCandidate(String beanName, Class<?> requiredType, BeanFactory beanFactory) Resolve the specified bean name, as a candidate result of the matching algorithm for this dependency, to a bean instance from the given factory.AutowireCapableBeanFactory.resolveDependency(DependencyDescriptor descriptor, String requestingBeanName) Resolve the specified dependency against the beans defined in this factory.AutowireCapableBeanFactory.resolveDependency(DependencyDescriptor descriptor, String requestingBeanName, Set<String> autowiredBeanNames, TypeConverter typeConverter) Resolve the specified dependency against the beans defined in this factory.<T> NamedBeanHolder<T>AutowireCapableBeanFactory.resolveNamedBean(Class<T> requiredType) Resolve the bean instance that uniquely matches the given object type, if any, including its bean name.DependencyDescriptor.resolveNotUnique(org.springframework.core.ResolvableType type, Map<String, Object> matchingBeans) Resolve the specified not-unique scenario: by default, throwing aNoUniqueBeanDefinitionException.DependencyDescriptor.resolveShortcut(BeanFactory beanFactory) Resolve a shortcut for this dependency against the given factory, for example taking some pre-resolved information into account.voidServiceLocatorFactoryBean.setBeanFactory(BeanFactory beanFactory) -
Uses of BeansException in org.springframework.beans.factory.parsing
Subclasses of BeansException in org.springframework.beans.factory.parsingModifier and TypeClassDescriptionclassException thrown when a bean definition reader encounters an error during the parsing process. -
Uses of BeansException in org.springframework.beans.factory.support
Subclasses of BeansException in org.springframework.beans.factory.supportModifier and TypeClassDescriptionclassSubclass ofBeanDefinitionStoreExceptionindicating an invalid override attempt: typically registering a new definition for the same bean name whileDefaultListableBeanFactory.isAllowBeanDefinitionOverriding()isfalse.classException thrown when the validation of a bean definition failed.classA subclass ofBeanCreationExceptionwhich indicates that the target scope is not active, for example, in case of request or session scope.Methods in org.springframework.beans.factory.support that throw BeansExceptionModifier and TypeMethodDescriptionAbstractAutowireCapableBeanFactory.applyBeanPostProcessorsAfterInitialization(Object existingBean, String beanName) Deprecated.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(Object existingBean, String beanName) Deprecated.voidAbstractAutowireCapableBeanFactory.applyBeanPropertyValues(Object existingBean, String beanName) AbstractAutowireCapableBeanFactory.autowire(Class<?> beanClass, int autowireMode, boolean dependencyCheck) voidAbstractAutowireCapableBeanFactory.autowireBeanProperties(Object existingBean, int autowireMode, boolean dependencyCheck) AbstractAutowireCapableBeanFactory.configureBean(Object existingBean, String beanName) AbstractAutowireCapableBeanFactory.createBean(Class<?> beanClass, int autowireMode, boolean dependencyCheck) Deprecated.<T> TAbstractAutowireCapableBeanFactory.createBean(Class<T> beanClass) protected Constructor<?>[]AbstractAutowireCapableBeanFactory.determineConstructorsFromBeanPostProcessors(Class<?> beanClass, String beanName) Determine candidate constructors to use for the given bean, checking all registeredSmartInstantiationAwareBeanPostProcessors.protected <T> TAbstractBeanFactory.doGetBean(String name, Class<T> requiredType, Object[] args, boolean typeCheckOnly) Return an instance, which may be shared or independent, of the specified bean.DefaultListableBeanFactory.doResolveDependency(DependencyDescriptor descriptor, String beanName, Set<String> autowiredBeanNames, TypeConverter typeConverter) <T> T<T> TReturn an instance, which may be shared or independent, of the specified bean.<T> T<T> T<T> T<T> T<T> Tprotected abstract BeanDefinitionAbstractBeanFactory.getBeanDefinition(String beanName) Return the bean definition for the given bean name.<T> ObjectProvider<T>StaticListableBeanFactory.getBeanProvider(Class<T> requiredType) DefaultListableBeanFactory.getBeansOfType(Class<T> type) DefaultListableBeanFactory.getBeansOfType(Class<T> type, boolean includeNonSingletons, boolean allowEagerInit) StaticListableBeanFactory.getBeansOfType(Class<T> type) StaticListableBeanFactory.getBeansOfType(Class<T> type, boolean includeNonSingletons, boolean allowEagerInit) StaticListableBeanFactory.getBeansWithAnnotation(Class<? extends Annotation> annotationType) protected FactoryBean<?>FactoryBeanRegistrySupport.getFactoryBean(String beanName, Object beanInstance) Get a FactoryBean for the given bean if possible.AbstractBeanFactory.getMergedBeanDefinition(String name) Return a 'merged' BeanDefinition for the given bean name, merging a child bean definition with its parent if necessary.protected RootBeanDefinitionAbstractBeanFactory.getMergedLocalBeanDefinition(String beanName) Return a merged RootBeanDefinition, traversing the parent bean definition if the specified bean corresponds to a child bean definition.InstantiationStrategy.instantiate(RootBeanDefinition bd, String beanName, BeanFactory owner) Return an instance of the bean with the given name in this factory.InstantiationStrategy.instantiate(RootBeanDefinition bd, String beanName, BeanFactory owner, Object factoryBean, Method factoryMethod, Object... args) Return an instance of the bean with the given name in this factory, creating it via the given factory method.InstantiationStrategy.instantiate(RootBeanDefinition bd, String beanName, BeanFactory owner, Constructor<?> ctor, Object... args) Return an instance of the bean with the given name in this factory, creating it via the given constructor.voidBeanDefinitionRegistryPostProcessor.postProcessBeanDefinitionRegistry(BeanDefinitionRegistry registry) Modify the application context's internal bean definition registry after its standard initialization.default voidBeanDefinitionRegistryPostProcessor.postProcessBeanFactory(ConfigurableListableBeanFactory beanFactory) Empty implementation ofBeanFactoryPostProcessor.postProcessBeanFactory(org.springframework.beans.factory.config.ConfigurableListableBeanFactory)since customBeanDefinitionRegistryPostProcessorimplementations will typically only provide aBeanDefinitionRegistryPostProcessor.postProcessBeanDefinitionRegistry(org.springframework.beans.factory.support.BeanDefinitionRegistry)method.protected ObjectFactoryBeanRegistrySupport.postProcessObjectFromFactoryBean(Object object, String beanName) Post-process the given object that has been obtained from the FactoryBean.voidDefaultListableBeanFactory.preInstantiateSingletons()protected voidPropertiesBeanDefinitionReader.registerBeanDefinition(String beanName, Map<?, ?> map, String prefix, String resourceDescription) Deprecated.Get all property values, given a prefix (which will be stripped) and add the bean they define to the factory with the given name.intPropertiesBeanDefinitionReader.registerBeanDefinitions(Map<?, ?> map) Deprecated.Register bean definitions contained in a Map, using all property keys (i.e.intPropertiesBeanDefinitionReader.registerBeanDefinitions(Map<?, ?> map, String prefix) Deprecated.Register bean definitions contained in a Map.intPropertiesBeanDefinitionReader.registerBeanDefinitions(Map<?, ?> map, String prefix, String resourceDescription) Deprecated.Register bean definitions contained in a Map.AbstractAutowireCapableBeanFactory.resolveDependency(DependencyDescriptor descriptor, String requestingBeanName) DefaultListableBeanFactory.resolveDependency(DependencyDescriptor descriptor, String requestingBeanName, Set<String> autowiredBeanNames, TypeConverter typeConverter) <T> NamedBeanHolder<T>DefaultListableBeanFactory.resolveNamedBean(Class<T> requiredType) -
Uses of BeansException in org.springframework.beans.factory.xml
Subclasses of BeansException in org.springframework.beans.factory.xmlModifier and TypeClassDescriptionclassXML-specific BeanDefinitionStoreException subclass that wraps aSAXException, typically aSAXParseExceptionwhich contains information about the error location. -
Uses of BeansException in org.springframework.beans.support
Methods in org.springframework.beans.support that throw BeansExceptionModifier and TypeMethodDescriptionstatic voidPropertyComparator.sort(Object[] source, SortDefinition sortDefinition) Sort the given source according to the given sort definition.static voidPropertyComparator.sort(List<?> source, SortDefinition sortDefinition) Sort the given List according to the given sort definition.
AutowireCapableBeanFactory.initializeBean(Object, String)