+ this.classAnnotationMetadata.getClassName() + "', method = " + methodMetaData);
}
logger.debug("Add injection for PersistenceUnit on on method {0} of class {1}", methodMetaData
.getMethodName(), this.classAnnotationMetadata.getClassName());
IJavaxPersistenceUnit javaxPersistenceUnit = methodMetaData.getJavaxPersistenceUnit();
// add
// setterName(EntityManagerHelper.getEntityManagerFactory(getEasyBeansContext(),
// "myUnitName"));
mv.visitVarInsn(ALOAD, 0);
// get EMF
addCallEntityManagerFactoryHelper(javaxPersistenceUnit, mv);
// call setter method
mv.visitMethodInsn(INVOKEVIRTUAL, this.classAnnotationMetadata.getClassName(), methodMetaData
.getMethodName(), "(Ljavax/persistence/EntityManagerFactory;)V");
// Bind value in JNDI
javaxPersistenceUnit.setName(getJndiName(javaxPersistenceUnit.getName(), methodMetaData));
bindClassPersistenceUnit(javaxPersistenceUnit, mv);
}
// @WebServiceRef annotation
IJaxwsWebServiceRef jWebServiceRef = methodMetaData.getJaxwsWebServiceRef();