/** * Creates a {@code JMXConnector} for the given settings * and exposes the associated {@code MBeanServerConnection}. */ @Override public void afterPropertiesSet() throws IOException { if (this.serviceUrl == null) { throw new IllegalArgumentException("Property 'serviceUrl' is required"); } if (this.connectOnStartup) { connect(); } else { createLazyConnection(); } }
/** * Creates a {@code JMXConnector} for the given settings * and exposes the associated {@code MBeanServerConnection}. */ @Override public void afterPropertiesSet() throws IOException { if (this.serviceUrl == null) { throw new IllegalArgumentException("Property 'serviceUrl' is required"); } if (this.connectOnStartup) { connect(); } else { createLazyConnection(); } }
/** * Creates a {@code JMXConnector} for the given settings * and exposes the associated {@code MBeanServerConnection}. */ @Override public void afterPropertiesSet() throws IOException { if (this.serviceUrl == null) { throw new IllegalArgumentException("Property 'serviceUrl' is required"); } if (this.connectOnStartup) { connect(); } else { createLazyConnection(); } }