Package org.wildfly.clustering.tomcat
Enum SessionMarshallerFactory
- java.lang.Object
-
- java.lang.Enum<SessionMarshallerFactory>
-
- org.wildfly.clustering.tomcat.SessionMarshallerFactory
-
- All Implemented Interfaces:
Serializable,Comparable<SessionMarshallerFactory>,Function<ClassLoader,org.wildfly.clustering.marshalling.spi.ByteBufferMarshaller>
public enum SessionMarshallerFactory extends Enum<SessionMarshallerFactory> implements Function<ClassLoader,org.wildfly.clustering.marshalling.spi.ByteBufferMarshaller>
- Author:
- Paul Ferraro
-
-
Enum Constant Summary
Enum Constants Enum Constant Description JAVAJBOSSPROTOSTREAM
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SessionMarshallerFactoryvalueOf(String name)Returns the enum constant of this type with the specified name.static SessionMarshallerFactory[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
JAVA
public static final SessionMarshallerFactory JAVA
-
JBOSS
public static final SessionMarshallerFactory JBOSS
-
PROTOSTREAM
public static final SessionMarshallerFactory PROTOSTREAM
-
-
Method Detail
-
values
public static SessionMarshallerFactory[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SessionMarshallerFactory c : SessionMarshallerFactory.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SessionMarshallerFactory valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
-