public final void init() throws Exception { if (bindOnInit) { bind(); bindState = BindState.BOUND_ON_INIT; } if (this.domain != null) { // Register endpoint (as ThreadPool - historical name) oname = new ObjectName(domain + ":type=ThreadPool,name=\"" + getName() + "\""); Registry.getRegistry(null, null).registerComponent(this, oname, null); for (SSLHostConfig sslHostConfig : findSslHostConfigs()) { registerJmx(sslHostConfig); } } }
unregisterJmx(sslHostConfig); registerJmx(sslHostConfig); throw new IllegalArgumentException(sm.getString("endpoint.duplicateSslHostName", key)); registerJmx(sslHostConfig);