public enum CatalinaSpecificationProvider extends Enum<CatalinaSpecificationProvider> implements org.wildfly.clustering.web.session.SpecificationProvider<javax.servlet.http.HttpSession,javax.servlet.ServletContext,javax.servlet.http.HttpSessionActivationListener>
| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
javax.servlet.http.HttpSession |
createHttpSession(org.wildfly.clustering.web.session.ImmutableSession session,
javax.servlet.ServletContext context) |
javax.servlet.http.HttpSessionActivationListener |
createListener(Consumer<javax.servlet.http.HttpSession> prePassivate,
Consumer<javax.servlet.http.HttpSession> postActivate) |
Class<javax.servlet.http.HttpSessionActivationListener> |
getHttpSessionActivationListenerClass() |
Consumer<javax.servlet.http.HttpSession> |
postActivateNotifier(javax.servlet.http.HttpSessionActivationListener listener) |
Consumer<javax.servlet.http.HttpSession> |
prePassivateNotifier(javax.servlet.http.HttpSessionActivationListener listener) |
static CatalinaSpecificationProvider |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CatalinaSpecificationProvider[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CatalinaSpecificationProvider INSTANCE
public static CatalinaSpecificationProvider[] values()
for (CatalinaSpecificationProvider c : CatalinaSpecificationProvider.values()) System.out.println(c);
public static CatalinaSpecificationProvider valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic javax.servlet.http.HttpSession createHttpSession(org.wildfly.clustering.web.session.ImmutableSession session,
javax.servlet.ServletContext context)
createHttpSession in interface org.wildfly.clustering.web.session.HttpSessionFactory<javax.servlet.http.HttpSession,javax.servlet.ServletContext>public Class<javax.servlet.http.HttpSessionActivationListener> getHttpSessionActivationListenerClass()
getHttpSessionActivationListenerClass in interface org.wildfly.clustering.web.session.HttpSessionActivationListenerProvider<javax.servlet.http.HttpSession,javax.servlet.ServletContext,javax.servlet.http.HttpSessionActivationListener>public Consumer<javax.servlet.http.HttpSession> prePassivateNotifier(javax.servlet.http.HttpSessionActivationListener listener)
prePassivateNotifier in interface org.wildfly.clustering.web.session.HttpSessionActivationListenerProvider<javax.servlet.http.HttpSession,javax.servlet.ServletContext,javax.servlet.http.HttpSessionActivationListener>public Consumer<javax.servlet.http.HttpSession> postActivateNotifier(javax.servlet.http.HttpSessionActivationListener listener)
postActivateNotifier in interface org.wildfly.clustering.web.session.HttpSessionActivationListenerProvider<javax.servlet.http.HttpSession,javax.servlet.ServletContext,javax.servlet.http.HttpSessionActivationListener>public javax.servlet.http.HttpSessionActivationListener createListener(Consumer<javax.servlet.http.HttpSession> prePassivate, Consumer<javax.servlet.http.HttpSession> postActivate)
createListener in interface org.wildfly.clustering.web.session.HttpSessionActivationListenerProvider<javax.servlet.http.HttpSession,javax.servlet.ServletContext,javax.servlet.http.HttpSessionActivationListener>Copyright © 2020 JBoss by Red Hat. All rights reserved.