Interface SerializationStrategy
-
- All Superinterfaces:
java.io.Serializable
- All Known Implementing Classes:
SerializationStrategyDefaultImpl,SerializationStrategyLeanImpl
public interface SerializationStrategy extends java.io.SerializableAllow serialization of items to be overridden by strategies that implement this interface (See JIRA issue HOR-104)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.ObjectreadResolve(AbstractItemModel aim)Called when wanting to deserialize the AbstractItemModel aimjava.lang.ObjectwriteReplace(AbstractItemModel aim)Called when serializing the AbstractItemModel aim
-
-
-
Method Detail
-
writeReplace
java.lang.Object writeReplace(AbstractItemModel aim) throws java.io.ObjectStreamException
Called when serializing the AbstractItemModel aim- Parameters:
aim- the AbstractItemModel to serialize- Returns:
- The (possibly different) object that will be serialized
- Throws:
java.io.ObjectStreamException
-
readResolve
java.lang.Object readResolve(AbstractItemModel aim) throws java.io.ObjectStreamException
Called when wanting to deserialize the AbstractItemModel aim- Parameters:
aim- the AbstractItemModel to deserialize- Returns:
- The (possibly different) object that will be deserialized
- Throws:
java.io.ObjectStreamException
-
-