code: @Override
      public HttpConnectorList findConnectors() throws MalformedObjectNameException, NullPointerException, UnknownHostException, AttributeNotFoundException,
              InstanceNotFoundException, MBeanException, ReflectionException {
          LOG.info("Searching JBoss HTTP connectors.");
          HttpConnectorList httpConnectorList = null;
          MBeanServer mbs = ManagementFactory.getPlatformMBeanServer();
  
          Set<ObjectName> jbossObjs = mbs.queryNames(new ObjectName("jboss.as:socket-binding-group=standard-sockets,socket-binding=http*"), null);
          LOG.info("JBoss Mbean found.");
          ArrayList<HttpConnector> endPoints = new ArrayList<HttpConnector>();
          if (jbossObjs != null && jbossObjs.size() > 0) {
              LOG.info("JBoss Connectors found:" + jbossObjs.size());
              for (ObjectName obj : jbossObjs) {
                  Boolean bound = (Boolean) mbs.getAttribute(obj, "bound");
                  if (bound) {
                      String scheme = mbs.getAttribute(obj, "name").toString().replaceAll("\"", "");
                      Integer port = (Integer) mbs.getAttribute(obj, "boundPort");
                      String address = ((String) mbs.getAttribute(obj, "boundAddress")).replaceAll("\"", "");
                      if (LOG.isInfoEnabled()) {
                          LOG.info("Jboss Http Connector: " + scheme + "://" + address + ":" + port);
                      }
                      HttpConnector httpConnector = new HttpConnector(scheme, address, port, scheme.equalsIgnoreCase("https"));
                      endPoints.add(httpConnector);
                  } else {
                      LOG.info("JBoss Connector not bound,discarding.");
                  }
              }
          }
          if (endPoints.isEmpty()) {
              LOG.warn("Coundn't discover any Http Interfaces.");
          }
          httpConnectorList = new HttpConnectorList(endPoints);
          return httpConnectorList;
      }
docs: A list of connectors. Not bound connectors will be discarded.
  
  @return
  @throws MalformedObjectNameException
  @throws NullPointerException
  @throws UnknownHostException
  @throws AttributeNotFoundException
  @throws InstanceNotFoundException
  @throws MBeanException
  @throws ReflectionException