url = archive.getURL();
} catch (ArchiveException e) {
throw new IllegalStateException("Cannot get the URL on the archive '" + archive + "'.", e);
}
EZBNamingStrategy namingStrategy = null;
if (deployment.getConfiguration() != null) {
namingStrategy = deployment.getConfiguration().getNamingStrategy();
} else {
namingStrategy = new DefaultNamingStrategy();
}