Package org.jboss.weld.bean.attributes
Class BeanAttributesFactory
- java.lang.Object
-
- org.jboss.weld.bean.attributes.BeanAttributesFactory
-
public class BeanAttributesFactory extends Object
CreatesBeanAttributesbased on a given annotated.- Author:
- Jozef Hartinger
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T> javax.enterprise.inject.spi.BeanAttributes<T>forBean(EnhancedAnnotated<T,?> annotated, BeanManagerImpl manager)Creates newBeanAttributesto represent a managed bean.static <T> javax.enterprise.inject.spi.BeanAttributes<T>forNewBean(Set<Type> types, Class<?> javaClass)static <T> javax.enterprise.inject.spi.BeanAttributes<T>forNewManagedBean(EnhancedAnnotatedType<T> weldClass, BeanManagerImpl manager)static <T> javax.enterprise.inject.spi.BeanAttributes<T>forNewSessionBean(javax.enterprise.inject.spi.BeanAttributes<T> originalAttributes, Class<?> javaClass)static <T> javax.enterprise.inject.spi.BeanAttributes<T>forSessionBean(EnhancedAnnotatedType<T> annotated, InternalEjbDescriptor<?> descriptor, BeanManagerImpl manager)Creates newBeanAttributesto represent a session bean.
-
-
-
Method Detail
-
forBean
public static <T> javax.enterprise.inject.spi.BeanAttributes<T> forBean(EnhancedAnnotated<T,?> annotated, BeanManagerImpl manager)
Creates newBeanAttributesto represent a managed bean.
-
forSessionBean
public static <T> javax.enterprise.inject.spi.BeanAttributes<T> forSessionBean(EnhancedAnnotatedType<T> annotated, InternalEjbDescriptor<?> descriptor, BeanManagerImpl manager)
Creates newBeanAttributesto represent a session bean.
-
forNewBean
public static <T> javax.enterprise.inject.spi.BeanAttributes<T> forNewBean(Set<Type> types, Class<?> javaClass)
-
forNewManagedBean
public static <T> javax.enterprise.inject.spi.BeanAttributes<T> forNewManagedBean(EnhancedAnnotatedType<T> weldClass, BeanManagerImpl manager)
-
forNewSessionBean
public static <T> javax.enterprise.inject.spi.BeanAttributes<T> forNewSessionBean(javax.enterprise.inject.spi.BeanAttributes<T> originalAttributes, Class<?> javaClass)
-
-