Enum Class CatalinaSpecificationProvider
java.lang.Object
java.lang.Enum<CatalinaSpecificationProvider>
org.wildfly.clustering.tomcat.catalina.CatalinaSpecificationProvider
- All Implemented Interfaces:
Serializable,Comparable<CatalinaSpecificationProvider>,java.lang.constant.Constable,org.wildfly.clustering.web.session.HttpSessionActivationListenerProvider<jakarta.servlet.http.HttpSession,,jakarta.servlet.ServletContext, jakarta.servlet.http.HttpSessionActivationListener> org.wildfly.clustering.web.session.HttpSessionFactory<jakarta.servlet.http.HttpSession,,jakarta.servlet.ServletContext> org.wildfly.clustering.web.session.SpecificationProvider<jakarta.servlet.http.HttpSession,jakarta.servlet.ServletContext, jakarta.servlet.http.HttpSessionActivationListener>
public enum CatalinaSpecificationProvider
extends Enum<CatalinaSpecificationProvider>
implements org.wildfly.clustering.web.session.SpecificationProvider<jakarta.servlet.http.HttpSession,jakarta.servlet.ServletContext,jakarta.servlet.http.HttpSessionActivationListener>
- Author:
- Paul Ferraro
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionjakarta.servlet.http.HttpSessioncreateHttpSession(org.wildfly.clustering.web.session.ImmutableSession session, jakarta.servlet.ServletContext context) jakarta.servlet.http.HttpSessionActivationListenercreateListener(Consumer<jakarta.servlet.http.HttpSession> prePassivate, Consumer<jakarta.servlet.http.HttpSession> postActivate) Class<jakarta.servlet.http.HttpSessionActivationListener>Consumer<jakarta.servlet.http.HttpSession>postActivateNotifier(jakarta.servlet.http.HttpSessionActivationListener listener) Consumer<jakarta.servlet.http.HttpSession>prePassivateNotifier(jakarta.servlet.http.HttpSessionActivationListener listener) Returns the enum constant of this class with the specified name.static CatalinaSpecificationProvider[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
INSTANCE
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
createHttpSession
public jakarta.servlet.http.HttpSession createHttpSession(org.wildfly.clustering.web.session.ImmutableSession session, jakarta.servlet.ServletContext context) - Specified by:
createHttpSessionin interfaceorg.wildfly.clustering.web.session.HttpSessionFactory<jakarta.servlet.http.HttpSession,jakarta.servlet.ServletContext>
-
getHttpSessionActivationListenerClass
public Class<jakarta.servlet.http.HttpSessionActivationListener> getHttpSessionActivationListenerClass()- Specified by:
getHttpSessionActivationListenerClassin interfaceorg.wildfly.clustering.web.session.HttpSessionActivationListenerProvider<jakarta.servlet.http.HttpSession,jakarta.servlet.ServletContext, jakarta.servlet.http.HttpSessionActivationListener>
-
prePassivateNotifier
public Consumer<jakarta.servlet.http.HttpSession> prePassivateNotifier(jakarta.servlet.http.HttpSessionActivationListener listener) - Specified by:
prePassivateNotifierin interfaceorg.wildfly.clustering.web.session.HttpSessionActivationListenerProvider<jakarta.servlet.http.HttpSession,jakarta.servlet.ServletContext, jakarta.servlet.http.HttpSessionActivationListener>
-
postActivateNotifier
public Consumer<jakarta.servlet.http.HttpSession> postActivateNotifier(jakarta.servlet.http.HttpSessionActivationListener listener) - Specified by:
postActivateNotifierin interfaceorg.wildfly.clustering.web.session.HttpSessionActivationListenerProvider<jakarta.servlet.http.HttpSession,jakarta.servlet.ServletContext, jakarta.servlet.http.HttpSessionActivationListener>
-
createListener
public jakarta.servlet.http.HttpSessionActivationListener createListener(Consumer<jakarta.servlet.http.HttpSession> prePassivate, Consumer<jakarta.servlet.http.HttpSession> postActivate) - Specified by:
createListenerin interfaceorg.wildfly.clustering.web.session.HttpSessionActivationListenerProvider<jakarta.servlet.http.HttpSession,jakarta.servlet.ServletContext, jakarta.servlet.http.HttpSessionActivationListener>
-