if (jndiName == null || jndiName.equals(""))
throw new RuntimeException("mapped-name is required for " + envRef.getMessageDestinationRefName()
+ " of deployment " + container.getIdentifier());
}
container.getEncInjectors().put(encName,
new LinkRefEncInjector(encName, jndiName, "<message-destination-ref>"));
InjectionUtil.injectionTarget(encName, envRef, container, container.getEncInjections());
}
}