* @exception IOException
*/
public void doSave(HADialogFragment haDialogFragment) throws IOException {
byte[] sessionState = ReplicationUtil.getByteArray(haDialogFragment, isReplicationCompressionEnabled());
BackingStore replicator = this.getBackingStore();
SimpleMetadata simpleMetadata =
SimpleMetadataFactory.createSimpleMetadata(
haDialogFragment.getVersion(),
haDialogFragment.getInternalLastAccessedTime(), // internallastAccessedTime
0L, // maxinactiveinterval
sessionState,
haDialogFragment.getExtraParameters() // containerExtraParam
);
simpleMetadata.setBeKey(haDialogFragment.getBeKey());
simpleMetadata.setOwningInstanceName(ReplicationUtil.getInstanceName());
try {
replicator.save(haDialogFragment.getDialogId(), //id
simpleMetadata, haDialogFragment.isReplicated()); //FIXME: Revist last param
} catch (BackingStoreException ex) {
IOException ex1 =