Package org.jboss.weld.bean
Interface WeldBean<T>
- Type Parameters:
T- the type of the bean instance
- All Superinterfaces:
jakarta.enterprise.inject.spi.Bean<T>,jakarta.enterprise.inject.spi.BeanAttributes<T>,jakarta.enterprise.context.spi.Contextual<T>
- All Known Subinterfaces:
ClassBean<T>,SessionBean<T>
- All Known Implementing Classes:
AbstractBean,AbstractBuiltInBean,AbstractBuiltInMetadataBean,AbstractClassBean,AbstractDecorableBuiltInBean,AbstractEEBean,AbstractFacadeBean,AbstractProducerBean,AbstractStaticallyDecorableBuiltInBean,AbstractSyntheticBean,BeanManagerBean,BeanManagerImplBean,BeanMetadataBean,CommonBean,ContextBean,ConversationBean,DecoratedBeanMetadataBean,DecoratorImpl,DecoratorMetadataBean,EEResourceProducerField,EventBean,EventMetadataBean,ExtensionBean,InjectionPointBean,InstanceBean,InterceptedBeanMetadataBean,InterceptionFactoryBean,InterceptorImpl,InterceptorMetadataBean,ManagedBean,PrincipalBean,ProducerField,ProducerMethod,RequestContextControllerBean,RIBean,StaticEEResourceProducerField,SyntheticClassBean,SyntheticDecorator,SyntheticProducerBean
public interface WeldBean<T>
extends jakarta.enterprise.inject.spi.Bean<T>
A
Bean implementation provided by Weld.- Author:
- Jozef Hartinger
-
Method Summary
Modifier and TypeMethodDescriptionorg.jboss.weld.serialization.spi.BeanIdentifierdefault IntegerUsed for custom beans registered via WeldBeanConfigurator and forProducerFieldandProducerMethodif they explicitly declare thePriorityannotation.Methods inherited from interface jakarta.enterprise.inject.spi.Bean
getBeanClass, getInjectionPointsMethods inherited from interface jakarta.enterprise.inject.spi.BeanAttributes
getName, getQualifiers, getScope, getStereotypes, getTypes, isAlternativeMethods inherited from interface jakarta.enterprise.context.spi.Contextual
create, destroy
-
Method Details
-
getIdentifier
org.jboss.weld.serialization.spi.BeanIdentifier getIdentifier()- Returns:
- the
BeanIdentifierfor this bean
-
getPriority
Used for custom beans registered via WeldBeanConfigurator and forProducerFieldandProducerMethodif they explicitly declare thePriorityannotation. All other implementations will returnnullby default.- Returns:
- bean priority or null if not set or overridden
-