Example usage for Java org.springframework.beans.factory BeanFactoryUtils fields, constructors, methods, implement or subclass
The text is from its open source code.
String | GENERATED_BEAN_NAME_SEPARATOR Separator for generated bean names. |
String[] | beanNamesForAnnotationIncludingAncestors(ListableBeanFactory lbf, Class extends Annotation> annotationType) Get all bean names whose Class has the supplied Annotation type, including those defined in ancestor factories, without creating any bean instances yet. |
String[] | beanNamesForTypeIncludingAncestors(ListableBeanFactory lbf, ResolvableType type) Get all bean names for the given type, including those defined in ancestor factories. |
String[] | beanNamesForTypeIncludingAncestors(ListableBeanFactory lbf, Class> type) Get all bean names for the given type, including those defined in ancestor factories. |
String[] | beanNamesForTypeIncludingAncestors(ListableBeanFactory lbf, ResolvableType type, boolean includeNonSingletons, boolean allowEagerInit) Get all bean names for the given type, including those defined in ancestor factories. |
String[] | beanNamesForTypeIncludingAncestors(ListableBeanFactory lbf, Class> type, boolean includeNonSingletons, boolean allowEagerInit) Get all bean names for the given type, including those defined in ancestor factories. |
String[] | beanNamesIncludingAncestors(ListableBeanFactory lbf) Return all bean names in the factory, including ancestor factories. |
T | beanOfType(ListableBeanFactory lbf, Class Return a single bean of the given type or subtypes, not looking in ancestor factories. |
T | beanOfTypeIncludingAncestors(ListableBeanFactory lbf, Class 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. |
T | beanOfTypeIncludingAncestors(ListableBeanFactory lbf, Class 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. |
Map | beansOfTypeIncludingAncestors(ListableBeanFactory lbf, Class 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. |
Map | beansOfTypeIncludingAncestors(ListableBeanFactory lbf, Class 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. |
boolean | isFactoryDereference(@Nullable String name) Return whether the given name is a factory dereference (beginning with the factory dereference prefix). |
String | originalBeanName(String name) Extract the "raw" bean name from the given (potentially generated) bean name, excluding any "#..." |
String | transformedBeanName(String name) Return the actual bean name, stripping out the factory dereference prefix (if any, also stripping repeated factory prefixes if found). |