Package org.springframework.data.aot
Interface AotContext.IntrospectedBeanDefinition
- Enclosing interface:
- AotContext
public static interface AotContext.IntrospectedBeanDefinition
Interface defining introspection methods for bean definitions.
- 
Method SummaryModifier and TypeMethodDescriptionGets theBeanDefinitionfor the given, requirednamed bean.Gets theRootBeanDefinitionfor the given, requiredbean name.booleanDetermines whether a bean identified by the given, requirednameis aFactoryBean.booleanDetermines whether a bean definition identified by the given, requirednameis present.Class<?>
- 
Method Details- 
isPresentboolean isPresent()Determines whether a bean definition identified by the given, requirednameis present.- Returns:
- true if the bean definition identified by the given, required nameregistered with.
 
- 
isFactoryBeanboolean isFactoryBean()Determines whether a bean identified by the given, requirednameis aFactoryBean.- Returns:
- true if the bean identified by the given, required nameis aFactoryBean.
 
- 
getBeanDefinitionGets theBeanDefinitionfor the given, requirednamed bean.- Returns:
- the BeanDefinitionfor the given, requirednamed bean.
- Throws:
- NoSuchBeanDefinitionException- if a- BeanDefinitioncannot be found for the- named bean.
- See Also:
 
- 
getRootBeanDefinitionGets theRootBeanDefinitionfor the given, requiredbean name.- Returns:
- the RootBeanDefinitionfor the given, requiredbean name.
- Throws:
- NoSuchBeanDefinitionException- if a- BeanDefinitioncannot be found for the- named bean.
- IllegalStateException- if the bean is not a- root bean.
- See Also:
 
- 
resolveType- Returns:
- the typeof thereferenced beanif defined; may be null.
- See Also:
 
 
-