GerResourceEnvRefType gerResourceEnvRef = refMap.get(name);
refMap.remove(name);
try {
String refType = getStringValue(resourceEnvRef.getResourceEnvRefType());
if (refType.equals("javax.transaction.UserTransaction")) {
Reference ref = new UserTransactionReference();
getJndiContextMap(componentContext).put(ENV + name, ref);
} else {
AbstractNameQuery containerId = getAdminObjectContainerId(name, gerResourceEnvRef);
Reference ref = buildAdminObjectReference(module, containerId, iface);
getJndiContextMap(componentContext).put(ENV + name, ref);