factory.name(name);
factory.qualifier(Names.create(name));
factory.qualifier(DefaultLiteral.DEFAULT);
ResourceAdapterProducer<T> producer = new ResourceAdapterProducer(controller);
Bean<T> bean = factory.injection(producer);
beanManager.addBean(bean);