B - The bean typepublic static interface RuntimeBeanDefinition.Builder<B>
RuntimeBeanDefinition instances.| Modifier and Type | Method and Description |
|---|---|
RuntimeBeanDefinition.Builder<B> |
annotationMetadata(AnnotationMetadata annotationMetadata)
The annotation metadata for the bean.
|
RuntimeBeanDefinition<B> |
build()
Builds the runtime bean.
|
RuntimeBeanDefinition.Builder<B> |
exposedTypes(Class<?>... types)
Limit the exposed types of this bean.
|
default RuntimeBeanDefinition.Builder<B> |
named(String name)
The qualifier to use.
|
RuntimeBeanDefinition.Builder<B> |
qualifier(Qualifier<B> qualifier)
The qualifier to use.
|
RuntimeBeanDefinition.Builder<B> |
scope(Class<? extends Annotation> scope)
The scope to use.
|
RuntimeBeanDefinition.Builder<B> |
singleton(boolean isSingleton)
Is the bean singleton.
|
RuntimeBeanDefinition.Builder<B> qualifier(@Nullable Qualifier<B> qualifier)
qualifier - The qualifierdefault RuntimeBeanDefinition.Builder<B> named(@Nullable String name)
name - The named qualifier to use.RuntimeBeanDefinition.Builder<B> scope(@Nullable Class<? extends Annotation> scope)
scope - The scopeRuntimeBeanDefinition.Builder<B> singleton(boolean isSingleton)
isSingleton - True if it is singletonRuntimeBeanDefinition.Builder<B> exposedTypes(Class<?>... types)
types - The exposed typesRuntimeBeanDefinition.Builder<B> annotationMetadata(@Nullable AnnotationMetadata annotationMetadata)
annotationMetadata - The annotation metadata@NonNull RuntimeBeanDefinition<B> build()