protected void registerMBean(SpiderStatusMXBean spiderStatus) throws MalformedObjectNameException, InstanceAlreadyExistsException, MBeanRegistrationException, NotCompliantMBeanException {
        ObjectName objName = new ObjectName(jmxServerName + ":name=" + UrlUtils.removePort(spiderStatus.getName()));
        mbeanServer.registerMBean(spiderStatus, objName);
    }
Register spider for monitor.

@param spiders spiders
@return this
@throws JMException JMException
webmagic-extension/src/main/java/us/codecraft/webmagic/monitor/SpiderMonitor.java