Package io.quarkus.arc.deployment
Class AdditionalBeanBuildItem.Builder
java.lang.Object
io.quarkus.arc.deployment.AdditionalBeanBuildItem.Builder
- Enclosing class:
- AdditionalBeanBuildItem
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddBeanClass(Class<?> beanClass) addBeanClass(String beanClass) addBeanClasses(Class<?>... beanClasses) addBeanClasses(String... beanClasses) addBeanClasses(Collection<String> beanClasses) build()setDefaultScope(org.jboss.jandex.DotName defaultScope) The default scope is only used if there is no scope declared on the bean class or added by an annotation transformer with priority higher thanio.quarkus.arc.processor.BuildExtension.DEFAULT_PRIORITY
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
addBeanClasses
-
addBeanClasses
-
addBeanClasses
-
addBeanClass
-
addBeanClass
-
setRemovable
-
setUnremovable
-
setDefaultScope
The default scope is only used if there is no scope declared on the bean class or added by an annotation transformer with priority higher thanio.quarkus.arc.processor.BuildExtension.DEFAULT_PRIORITYThe default scope should be used in cases where a bean class source is not controlled by the extension and the scope annotation cannot be declared directly on the class.
- Parameters:
defaultScope-- Returns:
- self
-
build
-