Package org.jboss.weld.bean
Interface ClassBean<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>
,WeldBean<T>
- All Known Subinterfaces:
SessionBean<T>
- All Known Implementing Classes:
AbstractClassBean
,DecoratorImpl
,InterceptorImpl
,ManagedBean
,NewManagedBean
public interface ClassBean<T> extends WeldBean<T>
Marker forBean
implementations that are defined by a Java class.- Author:
- Jozef Hartinger
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SlimAnnotatedType<T>
getAnnotated()
Returns the annotated type that defines this beanBeanManagerImpl
getBeanManager()
Returns theBeanManager
used by this bean.EnhancedAnnotatedType<T>
getEnhancedAnnotated()
Returns enhanced annotated type metadata.jakarta.enterprise.inject.spi.InjectionTarget<T>
getProducer()
Returns injection target used to produce instances of this bean-
Methods inherited from interface jakarta.enterprise.inject.spi.Bean
getBeanClass, getInjectionPoints, isNullable
-
Methods inherited from interface jakarta.enterprise.inject.spi.BeanAttributes
getName, getQualifiers, getScope, getStereotypes, getTypes, isAlternative
-
Methods inherited from interface org.jboss.weld.bean.WeldBean
getIdentifier, getPriority
-
-
-
-
Method Detail
-
getAnnotated
SlimAnnotatedType<T> getAnnotated()
Returns the annotated type that defines this bean- Returns:
- annotated type
-
getEnhancedAnnotated
EnhancedAnnotatedType<T> getEnhancedAnnotated()
Returns enhanced annotated type metadata. ThrowsIllegalStateException
if called after bootstrap.- Returns:
- enhanced annotated type metadata
- Throws:
IllegalStateException
- if called after bootstrap
-
getBeanManager
BeanManagerImpl getBeanManager()
Returns theBeanManager
used by this bean.- Returns:
- bean manager used by this bean
-
getProducer
jakarta.enterprise.inject.spi.InjectionTarget<T> getProducer()
Returns injection target used to produce instances of this bean- Returns:
- the injection target
-
-