@Test public void testNoOpIfNoConfigSettings() { customizer.customize(); assertThat( fraction.subresources().servers() ).isEmpty(); }
@Override public void customize() { if (this.enabled.get()) { fraction.defaultServer((server) -> { server.remoteConnection(name.get(), (connection) -> { connection.jndiName(this.jndiName.get()); connection.host(this.host.get()); connection.port(this.port.get()); }); }); } }
RemoteConnectionInstallingCustomizer implements Customizer { @Override public void customize() { if (this.enabled.get()) { fraction.defaultServer((server) -> { server.remoteConnection(name.get(), (connection) -> { connection.jndiName(this.jndiName.get()); connection.host(this.host.get()); connection.port(this.port.get()); }); }); } } }
RemoteConnectionInstallingCustomizer implements Customizer { @Override public void customize() { if (this.enabled.get()) { fraction.defaultServer((server) -> { server.remoteConnection(name.get(), (connection) -> { connection.jndiName(this.jndiName.get()); connection.host(this.host.get()); connection.port(this.port.get()); }); }); } }  }
RemoteConnectionInstallingCustomizer implements Customizer { @Override public void customize() { if (this.enabled.get()) { fraction.defaultServer((server) -> { server.remoteConnection(name.get(), (connection) -> { connection.jndiName(this.jndiName.get()); connection.host(this.host.get()); connection.port(this.port.get()); }); }); } }  @Override void customize(); }
RemoteConnectionInstallingCustomizer implements Customizer { @Override public void customize() { if (this.enabled.get()) { fraction.defaultServer((server) -> { server.remoteConnection(name.get(), (connection) -> { connection.jndiName(this.jndiName.get()); connection.host(this.host.get()); connection.port(this.port.get()); }); }); } }  @Override void customize();  }