private void fillInMissingType(JndiConsumer consumer, DeploymentModule module) {
    final ClassLoader loader = module.getClassLoader();

    for (EnvEntry entry : consumer.getEnvEntry()) {
      fillInMissingType(loader, entry);
    }
  }
  private void removeUnsetEnvEntries(JndiConsumer consumer) {
    final Iterator<EnvEntry> entries = consumer.getEnvEntry().iterator();
    while (entries.hasNext()) {
      final EnvEntry entry = entries.next();
      if (entry.getEnvEntryValue() != null) continue;
      if (entry.getLookupName() != null) continue;

      entries.remove();
    }
  }