localConfiguration.findGBeanData(persistenceUnitNameQuery);
} catch (GBeanNotFoundException e) {
throw new DeploymentException("Could not resolve reference at deploy time for query " + persistenceUnitNameQuery, e);
}
EntityManagerFactoryReference reference = new EntityManagerFactoryReference(localConfiguration.getId(), persistenceUnitNameQuery);
((Map)componentContext.get(JNDI_KEY)).put(ENV + EntityManagerFactoryRefName, reference);
}
}