Class StateConverterV0

java.lang.Object
org.gatein.pc.portlet.impl.state.StateConverterV0
All Implemented Interfaces:
StateConverter

public class StateConverterV0 extends Object implements StateConverter

An implementation that relies on the DataInputStream and DataOutputStream to marshall and unmarshall the producer state. The marshalled value starts with a magic value and a version id to ensure future backward compatibility.

It is an important matter because a migrated producer will probably have to take care of consumers that hold a previous version of the producer state.

Version:
$Revision: 1.1 $
Author:
Julien Viet