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 classUndertowDeploymentInfoService.Builder
-
Field Summary
Fields Modifier and Type Field Description static StringDEFAULT_SERVLET_NAMEstatic org.jboss.msc.service.ServiceNameSERVICE_NAMEstatic StringUNDERTOW
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddInjectedExecutor(String name, Supplier<Executor> injected)static UndertowDeploymentInfoService.Builderbuilder()io.undertow.servlet.api.DeploymentInfogetValue()voidstart(org.jboss.msc.service.StartContext startContext)voidstop(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:
startin interfaceorg.jboss.msc.Service- Specified by:
startin interfaceorg.jboss.msc.service.Service<io.undertow.servlet.api.DeploymentInfo>- Throws:
org.jboss.msc.service.StartException
-
stop
public void stop(org.jboss.msc.service.StopContext stopContext)
- Specified by:
stopin interfaceorg.jboss.msc.Service- Specified by:
stopin interfaceorg.jboss.msc.service.Service<io.undertow.servlet.api.DeploymentInfo>
-
getValue
public io.undertow.servlet.api.DeploymentInfo getValue() throws IllegalStateException, IllegalArgumentException- Specified by:
getValuein interfaceorg.jboss.msc.value.Value<io.undertow.servlet.api.DeploymentInfo>- Throws:
IllegalStateExceptionIllegalArgumentException
-
builder
public static UndertowDeploymentInfoService.Builder builder()
-
-