Package io.quarkus.arc.impl
Class BuiltInBean<T>
- java.lang.Object
-
- io.quarkus.arc.impl.BuiltInBean<T>
-
- All Implemented Interfaces:
InjectableBean<T>
,InjectableReferenceProvider<T>
,jakarta.enterprise.context.spi.Contextual<T>
,jakarta.enterprise.inject.spi.Bean<T>
,jakarta.enterprise.inject.spi.BeanAttributes<T>
- Direct Known Subclasses:
BeanManagerBean
,EventBean
,InjectionPointBean
,InstanceBean
public abstract class BuiltInBean<T> extends Object implements InjectableBean<T>
Common class for all built-in beans.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface io.quarkus.arc.InjectableBean
InjectableBean.Kind
-
-
Constructor Summary
Constructors Constructor Description BuiltInBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description T
create(jakarta.enterprise.context.spi.CreationalContext<T> creationalContext)
String
getIdentifier()
The identifier is generated by the container and is unique for a specific deployment.InjectableBean.Kind
getKind()
String
toString()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface io.quarkus.arc.InjectableBean
destroy, getAlternativePriority, getDeclaringBean, getImplementationClass, getInjectionPoints, getName, getPriority, getQualifiers, getScope, getStereotypes, getTypes, isAlternative, isDefaultBean, isSuppressed
-
Methods inherited from interface io.quarkus.arc.InjectableReferenceProvider
get
-
-
-
-
Method Detail
-
getIdentifier
public String getIdentifier()
Description copied from interface:InjectableBean
The identifier is generated by the container and is unique for a specific deployment.- Specified by:
getIdentifier
in interfaceInjectableBean<T>
- Returns:
- the identifier for this bean
-
create
public T create(jakarta.enterprise.context.spi.CreationalContext<T> creationalContext)
- Specified by:
create
in interfacejakarta.enterprise.context.spi.Contextual<T>
-
getKind
public InjectableBean.Kind getKind()
- Specified by:
getKind
in interfaceInjectableBean<T>
- Returns:
- the kind of the bean
- See Also:
InjectableBean.Kind
-
-