T
- The bean typepublic interface BeanType<T> extends AnnotationMetadataProvider, BeanContextConditional
BeanDefinitionReference
and BeanDefinition
.EMPTY
Modifier and Type | Method and Description |
---|---|
Class<T> |
getBeanType()
Returns the bean type.
|
default Set<Class<?>> |
getExposedTypes()
Returns a potentially limited subset of bean types exposed by this bean.
|
default String |
getName() |
default boolean |
isCandidateBean(Argument<?> beanType)
Return whether this bean type is a candidate for dependency injection for the passed type.
|
default boolean |
isContainerType()
Checks whether the bean type is a container type.
|
default boolean |
isPrimary() |
default boolean |
requiresMethodProcessing()
By default, when the
BeanContext is started, the
BeanDefinition.getExecutableMethods() are not processed by registered
ExecutableMethodProcessor instances unless this method returns true. |
findAnnotation, findAnnotation, findDeclaredAnnotation, findDeclaredAnnotation, getAnnotationMetadata, isAnnotationPresent, isDeclaredAnnotationPresent, synthesize, synthesizeAll, synthesizeAnnotationsByType, synthesizeDeclared, synthesizeDeclared, synthesizeDeclaredAnnotationsByType
getAnnotation, getAnnotation, getDeclaredAnnotation, getDeclaredAnnotation, isAnnotationPresent, isDeclaredAnnotationPresent, synthesize, synthesizeDeclared
isEnabled, isEnabled
default boolean isPrimary()
Primary
default boolean isContainerType()
Iterable
.@NonNull default Set<Class<?>> getExposedTypes()
Type
annotation.default boolean isCandidateBean(@Nullable Argument<?> beanType)
beanType
- The bean typedefault String getName()
default boolean requiresMethodProcessing()
BeanContext
is started, the
BeanDefinition.getExecutableMethods()
are not processed by registered
ExecutableMethodProcessor
instances unless this method returns true.Executable.processOnStartup()