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 Type
    Method
    Description
    org.jboss.weld.serialization.spi.BeanIdentifier
     
    default Integer
    Used for custom beans registered via WeldBeanConfigurator and for ProducerField and ProducerMethod if they explicitly declare the Priority annotation.

    Methods inherited from interface jakarta.enterprise.inject.spi.Bean

    getBeanClass, getInjectionPoints

    Methods inherited from interface jakarta.enterprise.inject.spi.BeanAttributes

    getName, getQualifiers, getScope, getStereotypes, getTypes, isAlternative

    Methods inherited from interface jakarta.enterprise.context.spi.Contextual

    create, destroy
  • Method Details

    • getIdentifier

      org.jboss.weld.serialization.spi.BeanIdentifier getIdentifier()
      Returns:
      the BeanIdentifier for this bean
    • getPriority

      default Integer getPriority()
      Used for custom beans registered via WeldBeanConfigurator and for ProducerField and ProducerMethod if they explicitly declare the Priority annotation. All other implementations will return null by default.
      Returns:
      bean priority or null if not set or overridden