private final HttpListenerRegistry registry;
private final List<URI> baseUris = new ArrayList<URI>();
public OpenEJBHttpWsRegistry() {
try {
OpenEjbConfiguration configuration = SystemInstance.get().getComponent(OpenEjbConfiguration.class);
for (ServiceInfo service : configuration.facilities.services) {
if (service.className.equals(HttpServerFactory.class.getName())) {
int port = Integer.parseInt(service.properties.getProperty("port"));
String ip = service.properties.getProperty("bind");
if ("0.0.0.0".equals(ip)) {