public class UndertowHttpManagementService extends Object implements org.jboss.msc.service.Service<HttpManagement>
| Modifier and Type | Field and Description |
|---|---|
static RuntimeCapability<Void> |
EXTENSIBLE_HTTP_MANAGEMENT_CAPABILITY |
static String |
HTTP_MANAGEMENT |
static org.jboss.msc.service.ServiceName |
HTTP_UPGRADE_SERVICE_NAME |
static String |
HTTPS_MANAGEMENT |
static org.jboss.msc.service.ServiceName |
HTTPS_UPGRADE_SERVICE_NAME |
static String |
JBOSS_REMOTING |
static String |
MANAGEMENT_ENDPOINT |
static String |
SERVER_NAME |
static org.jboss.msc.service.ServiceName |
SERVICE_NAME |
| Constructor and Description |
|---|
UndertowHttpManagementService(Consumer<HttpManagement> httpManagementConsumer,
Supplier<io.undertow.server.ListenerRegistry> listenerRegistrySupplier,
Supplier<ModelController> modelControllerSupplier,
Supplier<SocketBinding> socketBindingSupplier,
Supplier<SocketBinding> secureSocketBindingSupplier,
Supplier<SocketBindingManager> socketBindingManagerSupplier,
Supplier<NetworkInterfaceBinding> interfaceBindingSupplier,
Supplier<NetworkInterfaceBinding> secureInterfaceBindingSupplier,
Supplier<ControlledProcessStateService> controlledProcessStateServiceSupplier,
Supplier<ManagementHttpRequestProcessor> requestProcessorSupplier,
Supplier<org.xnio.XnioWorker> workerSupplier,
Supplier<Executor> executorSupplier,
Supplier<org.wildfly.security.auth.server.HttpAuthenticationFactory> httpAuthFactorySupplier,
Supplier<org.jboss.as.domain.management.SecurityRealm> securityRealmSupplier,
Supplier<SSLContext> sslContextSupplier,
Integer port,
Integer securePort,
Collection<String> allowedOrigins,
ConsoleMode consoleMode,
String consoleSlot) |
| Modifier and Type | Method and Description |
|---|---|
HttpManagement |
getValue() |
void |
start(org.jboss.msc.service.StartContext context)
Starts the service.
|
void |
stop(org.jboss.msc.service.StopContext context)
Stops the service.
|
public static final RuntimeCapability<Void> EXTENSIBLE_HTTP_MANAGEMENT_CAPABILITY
public static final org.jboss.msc.service.ServiceName SERVICE_NAME
public static final String SERVER_NAME
public static final String HTTP_MANAGEMENT
public static final String HTTPS_MANAGEMENT
public static final org.jboss.msc.service.ServiceName HTTP_UPGRADE_SERVICE_NAME
public static final org.jboss.msc.service.ServiceName HTTPS_UPGRADE_SERVICE_NAME
public static final String JBOSS_REMOTING
public static final String MANAGEMENT_ENDPOINT
public UndertowHttpManagementService(Consumer<HttpManagement> httpManagementConsumer, Supplier<io.undertow.server.ListenerRegistry> listenerRegistrySupplier, Supplier<ModelController> modelControllerSupplier, Supplier<SocketBinding> socketBindingSupplier, Supplier<SocketBinding> secureSocketBindingSupplier, Supplier<SocketBindingManager> socketBindingManagerSupplier, Supplier<NetworkInterfaceBinding> interfaceBindingSupplier, Supplier<NetworkInterfaceBinding> secureInterfaceBindingSupplier, Supplier<ControlledProcessStateService> controlledProcessStateServiceSupplier, Supplier<ManagementHttpRequestProcessor> requestProcessorSupplier, Supplier<org.xnio.XnioWorker> workerSupplier, Supplier<Executor> executorSupplier, Supplier<org.wildfly.security.auth.server.HttpAuthenticationFactory> httpAuthFactorySupplier, Supplier<org.jboss.as.domain.management.SecurityRealm> securityRealmSupplier, Supplier<SSLContext> sslContextSupplier, Integer port, Integer securePort, Collection<String> allowedOrigins, ConsoleMode consoleMode, String consoleSlot)
public void start(org.jboss.msc.service.StartContext context)
throws org.jboss.msc.service.StartException
start in interface org.jboss.msc.Servicecontext - The start contextorg.jboss.msc.service.StartException - If any errors occurpublic void stop(org.jboss.msc.service.StopContext context)
stop in interface org.jboss.msc.Servicecontext - The stop contextpublic HttpManagement getValue() throws IllegalStateException, IllegalArgumentException
getValue in interface org.jboss.msc.value.Value<HttpManagement>IllegalStateExceptionIllegalArgumentExceptionCopyright © 2019 JBoss by Red Hat. All rights reserved.