public class SessionManagerRegistryService extends AbstractUndertowEventListener implements org.jboss.msc.service.Service<SessionManagerRegistry>, SessionManagerRegistry
SessionManagerRegistry
for a host.Modifier and Type | Method and Description |
---|---|
static org.jboss.msc.service.ServiceBuilder<SessionManagerRegistry> |
build(org.jboss.msc.service.ServiceTarget target,
org.jboss.msc.service.ServiceName hostServiceName) |
static org.jboss.msc.service.ServiceName |
getServiceName(org.jboss.msc.service.ServiceName hostServiceName) |
io.undertow.server.session.SessionManager |
getSessionManager(String deployment)
Returns the session manager for the specified deployment, or null if the deployment does not exist.
|
SessionManagerRegistry |
getValue() |
void |
onDeploymentStart(io.undertow.servlet.api.Deployment deployment,
Host host) |
void |
onDeploymentStop(io.undertow.servlet.api.Deployment deployment,
Host host) |
void |
start(org.jboss.msc.service.StartContext context) |
void |
stop(org.jboss.msc.service.StopContext context) |
onHostStart, onHostStop, onServerStart, onServerStop, onShutdown
public static org.jboss.msc.service.ServiceName getServiceName(org.jboss.msc.service.ServiceName hostServiceName)
public static org.jboss.msc.service.ServiceBuilder<SessionManagerRegistry> build(org.jboss.msc.service.ServiceTarget target, org.jboss.msc.service.ServiceName hostServiceName)
public SessionManagerRegistry getValue()
getValue
in interface org.jboss.msc.value.Value<SessionManagerRegistry>
public void start(org.jboss.msc.service.StartContext context) throws org.jboss.msc.service.StartException
start
in interface org.jboss.msc.service.Service<SessionManagerRegistry>
org.jboss.msc.service.StartException
public void stop(org.jboss.msc.service.StopContext context)
stop
in interface org.jboss.msc.service.Service<SessionManagerRegistry>
public void onDeploymentStart(io.undertow.servlet.api.Deployment deployment, Host host)
onDeploymentStart
in interface UndertowEventListener
onDeploymentStart
in class AbstractUndertowEventListener
public void onDeploymentStop(io.undertow.servlet.api.Deployment deployment, Host host)
onDeploymentStop
in interface UndertowEventListener
onDeploymentStop
in class AbstractUndertowEventListener
public io.undertow.server.session.SessionManager getSessionManager(String deployment)
SessionManagerRegistry
getSessionManager
in interface SessionManagerRegistry
deployment
- a deployment nameCopyright © 2015 JBoss by Red Hat. All rights reserved.