public final class StandaloneServer extends Object implements org.terracotta.management.embedded.StandaloneServerInterface
A standalone server implementation for agents embedded at the Terracotta monitorable entity.
| Modifier and Type | Field and Description |
|---|---|
static String |
EMBEDDED_CTXT |
| Constructor and Description |
|---|
StandaloneServer(List<FilterDetail> filterDetails,
List<javax.servlet.ServletContextListener> servletListeners,
String applicationClassName,
String host,
int port,
SSLContext sslCtxt,
boolean needClientAuth)
Create a standalone management server.
|
public static final String EMBEDDED_CTXT
public StandaloneServer(List<FilterDetail> filterDetails, List<javax.servlet.ServletContextListener> servletListeners, String applicationClassName, String host, int port, SSLContext sslCtxt, boolean needClientAuth)
filterDetails - a list of FilterDetail to add. Can be null;servletListeners - a list of ServletContextListener to add. Can be null.applicationClassName - the Application implementation to deploy.host - the host or IP address to bind. Mandatory unless port is < 0.port - the port to bind. Can be < 0 to mean do not bind.sslCtxt - the SSLContext to use. Can be null if no SSL is desired.needClientAuth - true to mandate client SSL auth, false otherwise.Copyright © 2021 Terracotta, Inc.. All rights reserved.