Class UndertowDeploymentInfoService
- java.lang.Object
-
- org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoService
-
- All Implemented Interfaces:
org.jboss.msc.Service
,org.jboss.msc.service.Service<io.undertow.servlet.api.DeploymentInfo>
,org.jboss.msc.value.Value<io.undertow.servlet.api.DeploymentInfo>
public class UndertowDeploymentInfoService extends Object implements org.jboss.msc.service.Service<io.undertow.servlet.api.DeploymentInfo>
Service that builds up the undertow metadata.- Author:
- Stuart Douglas, Richard Opalka
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
UndertowDeploymentInfoService.Builder
-
Field Summary
Fields Modifier and Type Field Description static String
DEFAULT_SERVLET_NAME
static org.jboss.msc.service.ServiceName
SERVICE_NAME
static String
UNDERTOW
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addInjectedExecutor(String name, Supplier<Executor> injected)
static UndertowDeploymentInfoService.Builder
builder()
io.undertow.servlet.api.DeploymentInfo
getValue()
void
start(org.jboss.msc.service.StartContext startContext)
void
stop(org.jboss.msc.service.StopContext stopContext)
-
-
-
Field Detail
-
SERVICE_NAME
public static final org.jboss.msc.service.ServiceName SERVICE_NAME
-
DEFAULT_SERVLET_NAME
public static final String DEFAULT_SERVLET_NAME
- See Also:
- Constant Field Values
-
UNDERTOW
public static final String UNDERTOW
- See Also:
- Constant Field Values
-
-
Method Detail
-
start
public void start(org.jboss.msc.service.StartContext startContext) throws org.jboss.msc.service.StartException
- Specified by:
start
in interfaceorg.jboss.msc.Service
- Throws:
org.jboss.msc.service.StartException
-
stop
public void stop(org.jboss.msc.service.StopContext stopContext)
- Specified by:
stop
in interfaceorg.jboss.msc.Service
-
getValue
public io.undertow.servlet.api.DeploymentInfo getValue() throws IllegalStateException, IllegalArgumentException
- Specified by:
getValue
in interfaceorg.jboss.msc.value.Value<io.undertow.servlet.api.DeploymentInfo>
- Throws:
IllegalStateException
IllegalArgumentException
-
builder
public static UndertowDeploymentInfoService.Builder builder()
-
-