/** * Creates new {@link BeanAttributes} to represent a managed bean. */ public static <T> BeanAttributes<T> forBean(EnhancedAnnotated<T, ?> annotated, BeanManagerImpl manager) { return new BeanAttributesBuilder<T>(annotated, manager).build(); }
/** * Creates new {@link BeanAttributes} to represent a managed bean. */ public static <T> BeanAttributes<T> forBean(EnhancedAnnotated<T, ?> annotated, BeanManagerImpl manager) { return new BeanAttributesBuilder<T>(annotated, null, manager).build(); }
/** * Creates new {@link BeanAttributes} to represent a session bean. */ public static <T> BeanAttributes<T> createBeanAttributes(EnhancedAnnotatedType<T> annotated, InternalEjbDescriptor<?> descriptor, BeanManagerImpl manager) { final Set<Type> types = SharedObjectCache.instance(manager).getSharedSet(getSessionBeanTypes(annotated, Reflections.<InternalEjbDescriptor<T>> cast(descriptor))); return new BeanAttributesBuilder<T>(annotated, types, manager).build(); }
/** * Creates new {@link BeanAttributes} to represent a managed bean. */ public static <T> BeanAttributes<T> forBean(EnhancedAnnotated<T, ?> annotated, BeanManagerImpl manager) { return new BeanAttributesBuilder<T>(annotated, manager).build(); }
/** * Creates new {@link BeanAttributes} to represent a managed bean. */ public static <T> BeanAttributes<T> forBean(EnhancedAnnotated<T, ?> annotated, BeanManagerImpl manager) { return new BeanAttributesBuilder<T>(annotated, manager).build(); }
/** * Creates new {@link BeanAttributes} to represent a session bean. */ public static <T> BeanAttributes<T> forSessionBean(EnhancedAnnotatedType<T> annotated, InternalEjbDescriptor<?> descriptor, BeanManagerImpl manager) { return new BeanAttributesBuilder<T>(annotated, Reflections.<InternalEjbDescriptor<T>> cast(descriptor), manager).build(); }
/** * Creates new {@link BeanAttributes} to represent a managed bean. */ public static <T> BeanAttributes<T> forBean(EnhancedAnnotated<T, ?> annotated, BeanManagerImpl manager) { return new BeanAttributesBuilder<T>(annotated, manager).build(); }
/** * Creates new {@link BeanAttributes} to represent a managed bean. */ public static <T> BeanAttributes<T> forBean(EnhancedAnnotated<T, ?> annotated, BeanManagerImpl manager) { return new BeanAttributesBuilder<T>(annotated, manager).build(); }