org.jboss.web.tomcat.service.session.distributedcache.spi
Class SessionSerializationFactory
java.lang.Object
org.jboss.web.tomcat.service.session.distributedcache.spi.SessionSerializationFactory
public class SessionSerializationFactory
- extends Object
Factory class for creating object output and input streams,
switching between JDK Serialization and JBoss Serialization classes.
Using MarshalledValue to replace Serializable used inside different
web app class loader context. Assuming that the caller classes are already
handling the switch between web app class loader context.
- Author:
- Hany Mesha, Brian Stansberry
Field Summary |
static String |
JBOSS_SERIALIZATION_SYS_PROP
System property that, if set to true , indicates that
JBoss Serialization should be used for session serialization. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JBOSS_SERIALIZATION_SYS_PROP
public static final String JBOSS_SERIALIZATION_SYS_PROP
- System property that, if set to
true
, indicates that
JBoss Serialization should be used for session serialization.
- See Also:
- Constant Field Values
SessionSerializationFactory
public SessionSerializationFactory()
createMarshalledValue
public static org.jboss.ha.framework.server.SimpleCachableMarshalledValue createMarshalledValue(Serializable o)
getObjectStreamSource
public static org.jboss.ha.framework.interfaces.ObjectStreamSource getObjectStreamSource()
useJBossSerialization
public static boolean useJBossSerialization()
Copyright © 2010 JBoss, a division of Red Hat, Inc.. All Rights Reserved.