Package org.springframework.data.aot
Interface AotContext.IntrospectedBeanDefinition
- Enclosing interface:
- AotContext
@Deprecated(since="4.0",
forRemoval=true)
public static interface AotContext.IntrospectedBeanDefinition
Deprecated, for removal: This API element is subject to removal in a future version.
since 4.0 as this isn't widely used and can be easily implemented within user code.
Interface defining introspection methods for bean definitions.
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Gets theBeanDefinitionfor the given, requirednamed bean.Deprecated, for removal: This API element is subject to removal in a future version.Gets theRootBeanDefinitionfor the given, requiredbean name.booleanDeprecated, for removal: This API element is subject to removal in a future version.Determines whether a bean identified by the given, requirednameis aFactoryBean.booleanDeprecated, for removal: This API element is subject to removal in a future version.Determines whether a bean definition identified by the given, requirednameis present.@Nullable Class<?>
-
Method Details
-
isPresent
boolean isPresent()Deprecated, for removal: This API element is subject to removal in a future version.Determines whether a bean definition identified by the given, requirednameis present.- Returns:
- true if the bean definition identified by the given, required
nameregistered with.
-
isFactoryBean
boolean isFactoryBean()Deprecated, for removal: This API element is subject to removal in a future version.Determines whether a bean identified by the given, requirednameis aFactoryBean.- Returns:
- true if the bean identified by the given, required
nameis aFactoryBean.
-
getBeanDefinition
Deprecated, for removal: This API element is subject to removal in a future version.Gets theBeanDefinitionfor the given, requirednamed bean.- Returns:
- the
BeanDefinitionfor the given, requirednamed bean. - Throws:
NoSuchBeanDefinitionException- if aBeanDefinitioncannot be found for thenamed bean.- See Also:
-
getRootBeanDefinition
Deprecated, for removal: This API element is subject to removal in a future version.Gets theRootBeanDefinitionfor the given, requiredbean name.- Returns:
- the
RootBeanDefinitionfor the given, requiredbean name. - Throws:
NoSuchBeanDefinitionException- if aBeanDefinitioncannot be found for thenamed bean.IllegalStateException- if the bean is not aroot bean.- See Also:
-
resolveType
@Nullable Class<?> resolveType()Deprecated, for removal: This API element is subject to removal in a future version.- Returns:
- the
typeof thereferenced beanif defined; may be null. - See Also:
-