public class BeanAttributesFactory extends Object
BeanAttributes
based on a given annotated.Modifier and Type | Method and Description |
---|---|
static <T> javax.enterprise.inject.spi.BeanAttributes<T> |
forBean(EnhancedAnnotated<T,?> annotated,
BeanManagerImpl manager)
Creates new
BeanAttributes to 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 new
BeanAttributes to represent a session bean. |
public static <T> javax.enterprise.inject.spi.BeanAttributes<T> forBean(EnhancedAnnotated<T,?> annotated, BeanManagerImpl manager)
BeanAttributes
to represent a managed bean.public static <T> javax.enterprise.inject.spi.BeanAttributes<T> forSessionBean(EnhancedAnnotatedType<T> annotated, InternalEjbDescriptor<?> descriptor, BeanManagerImpl manager)
BeanAttributes
to represent a session bean.public static <T> javax.enterprise.inject.spi.BeanAttributes<T> forNewBean(Set<Type> types, Class<?> javaClass)
public static <T> javax.enterprise.inject.spi.BeanAttributes<T> forNewManagedBean(EnhancedAnnotatedType<T> weldClass, BeanManagerImpl manager)
public static <T> javax.enterprise.inject.spi.BeanAttributes<T> forNewSessionBean(javax.enterprise.inject.spi.BeanAttributes<T> originalAttributes, Class<?> javaClass)
Copyright © 2016. All rights reserved.