public static <T> SessionBean<T> of(BeanAttributes<T> attributes, InternalEjbDescriptor<T> ejbDescriptor, BeanManagerImpl beanManager, EnhancedAnnotatedType<T> type) {
        return new SessionBeanImpl<T>(attributes, type, ejbDescriptor, new StringBeanIdentifier(SessionBeans.createIdentifier(type, ejbDescriptor)), beanManager);
    }
public static < T > SessionBean < T > of ( BeanAttributes < T > attributes , InternalEjbDescriptor < T > ejbDescriptor , BeanManagerImpl beanManager , EnhancedAnnotatedType < T > type ) { return new SessionBeanImpl < T > ( attributes , type , ejbDescriptor , new StringBeanIdentifier ( SessionBeans . createIdentifier ( type , ejbDescriptor ) ) , beanManager ) ; }
Creates a simple, annotation defined Enterprise Web Bean using the annotations specified on type

@param <T>         The type
@param beanManager the current manager
@param type        the AnnotatedType to use
@return An Enterprise Web Bean