public void customize() { this.group.socketBinding( new SocketBinding("http") .port(fraction.httpPort())); this.group.socketBinding( new SocketBinding("https") .port(fraction.httpsPort())); }
@Override public void customize() { this.group.socketBinding(new SocketBinding("txn-recovery-environment") .port(this.fraction.port())); this.group.socketBinding(new SocketBinding("txn-status-manager") .port(this.fraction.statusPort())); } }
@Override public void initialize(Fraction.InitContext initContext) { initContext.socketBinding( new SocketBinding("http") .port(SwarmProperties.propertyVar(SwarmProperties.HTTP_PORT, "8080"))); initContext.socketBinding( new SocketBinding("https") .port(SwarmProperties.propertyVar(SwarmProperties.HTTPS_PORT, "8443"))); }
@Override public void customize() { this.group.socketBinding(new SocketBinding("txn-recovery-environment") .port(this.fraction.port())); this.group.socketBinding(new SocketBinding("txn-status-manager") .port(this.fraction.statusPort())); } }
protected void fixSocketBindings(SocketBindingGroup group) { ConfigKey key = ROOT.append(group.name()).append("socket-bindings"); List<SimpleKey> names = this.configView.simpleSubkeys(key); names.stream() .map(e -> e.name()) .map(name -> group.socketBindings() .stream() .filter(e -> e.name().equals(name)) .findFirst() .orElseGet(() -> { SocketBinding binding = new SocketBinding(name); group.socketBinding(binding); return binding; })) .forEach(e -> { applyConfiguration(key, e); }); }
protected void fixSocketBindings(SocketBindingGroup group) { ConfigKey key = ROOT.append(group.name()).append("socket-bindings"); List<SimpleKey> names = this.configView.simpleSubkeys(key); names.stream() .map(e -> e.name()) .map(name -> group.socketBindings() .stream() .filter(e -> e.name().equals(name)) .findFirst() .orElseGet(() -> { SocketBinding binding = new SocketBinding(name); group.socketBinding(binding); return binding; })) .forEach(e -> { applyConfiguration(key, e); }); }
protected void fixSocketBindings(SocketBindingGroup group) { ConfigKey key = ROOT.append(group.name()).append("socket-bindings"); List<SimpleKey> names = this.configView.simpleSubkeys(key); names.stream() .map(e -> e.name()) .map(name -> group.socketBindings() .stream() .filter(e -> e.name().equals(name)) .findFirst() .orElseGet(() -> { SocketBinding binding = new SocketBinding(name); group.socketBinding(binding); return binding; })) .forEach(e -> { applyConfiguration(key, e); }); }
public void customize() { if (undertow.isEnableAJP()) { undertow.subresources().servers().stream() .filter(server -> server.subresources().ajpListeners().isEmpty()) .forEach(server -> server.ajpListener("ajp", listener -> listener.socketBinding("ajp"))); this.group.socketBinding( new SocketBinding("ajp") .port(undertow.ajpPort())); } }
@Override public void customize() { if (this.remoting.isRequireLegacyConnector()) { LOG.info("Remoting installed but Undertow not available. Enabled legacy connector on port 4447."); this.remoting.connector("legacy", (connector) -> { connector.socketBinding("legacy-remoting"); }); group.socketBinding(new SocketBinding("legacy-remoting").port(this.remoting.port())); } } }
@Override public void customize() { if (this.remoting.isRequireLegacyConnector()) { LOG.info("Remoting installed but Undertow not available. Enabled legacy connector on port 4447."); this.remoting.connector("legacy", (connector) -> { connector.socketBinding("legacy-remoting"); }); group.socketBinding(new SocketBinding("legacy-remoting").port(this.remoting.port())); } } }
@Override public void customize() { this.group.socketBinding( new SocketBinding("jgroups-udp") .port(55200) .multicastAddress(this.fraction.defaultMulticastAddress()) .multicastPort(45688)); this.group.socketBinding( new SocketBinding("jgroups-udp-fd") .port(54200)); this.group.socketBinding( new SocketBinding("jgroups-mping") .port(0) .multicastAddress(this.fraction.defaultMulticastAddress()) .multicastPort(45700)); this.group.socketBinding( new SocketBinding("jgroups-tcp") .port(7600)); this.group.socketBinding( new SocketBinding("jgroups-tcp-fd") .port(57600)); } }
public void customize() { this.group.socketBinding( new SocketBinding("management-http") .iface(iface.get()) .port(fraction.httpPort())); this.group.socketBinding(new SocketBinding("management-https") .port(fraction.httpsPort())); if (fraction.isHttpDisable()) { fraction.httpInterfaceManagementInterface((HTTPInterfaceManagementInterface<?>) null); } }
public void customize() { this.group.socketBinding( new SocketBinding("management-http") .iface(iface.get()) .port(fraction.httpPort())); this.group.socketBinding(new SocketBinding("management-https") .port(fraction.httpsPort())); if (fraction.isHttpDisable()) { fraction.httpInterfaceManagementInterface((HTTPInterfaceManagementInterface<?>) null); } }
@Override public void customize() { this.group.socketBinding( new SocketBinding("modcluster") .port(0) .multicastAddress(this.fraction.multicastAddress()) .multicastPort(this.fraction.multicastPort())); } }
@Override public void customize() { this.fraction.transport("local"); this.fraction.transport("odata"); if (enableJDBC.get()) { this.group.socketBinding(new SocketBinding("teiid-jdbc").port(jdbcPort.get())); this.fraction.transport("jdbc", t -> t.socketBinding("teiid-jdbc").protocol(Transport.Protocol.TEIID)); } if (enableODBC.get()) { this.group.socketBinding(new SocketBinding("teiid-odbc").port(odbcPort.get())); this.fraction.transport("odbc", t -> t.socketBinding("teiid-odbc").protocol(Transport.Protocol.TEIID)); } } }
@Override public void customize() { this.fraction.transport("local"); this.fraction.transport("odata"); if (enableJDBC.get()) { this.group.socketBinding(new SocketBinding("teiid-jdbc").port(jdbcPort.get())); this.fraction.transport("jdbc", t -> t.socketBinding("teiid-jdbc").protocol(Transport.Protocol.TEIID)); } if (enableODBC.get()) { this.group.socketBinding(new SocketBinding("teiid-odbc").port(odbcPort.get())); this.fraction.transport("odbc", t -> t.socketBinding("teiid-odbc").protocol(Transport.Protocol.TEIID)); } } }
new SocketBinding("ajp") .port(SwarmProperties.propertyVar(SwarmProperties.AJP_PORT, "8009")));