public static < X , T > ProducerMethod < X , T > of ( BeanAttributes < T > attributes , EnhancedAnnotatedMethod < T , ? super X > method , AbstractClassBean < X > declaringBean , DisposalMethod < X , ? > disposalMethod , BeanManagerImpl beanManager , ServiceRegistry services ) { return new ProducerMethod < X , T > ( createId ( attributes , method , declaringBean ) , attributes , method , declaringBean , disposalMethod , beanManager , services ) ; }
Creates a producer method Web Bean