Class SerializationStrategyLeanImpl
java.lang.Object
de.hybris.platform.servicelayer.model.strategies.SerializationStrategyLeanImpl
- All Implemented Interfaces:
SerializationStrategy,Serializable
Allow serialization of items to be overridden by strategies (See JIRA issue HOR-104, HOR-106)
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classThe Class LeanItemModelHandler. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCalled when wanting to deserialize the AbstractItemModel aimCalled when serializing the AbstractItemModel aim
-
Constructor Details
-
SerializationStrategyLeanImpl
public SerializationStrategyLeanImpl()
-
-
Method Details
-
readResolve
Description copied from interface:SerializationStrategyCalled when wanting to deserialize the AbstractItemModel aim- Specified by:
readResolvein interfaceSerializationStrategy- Parameters:
aim- the AbstractItemModel to deserialize- Returns:
- The (possibly different) object that will be deserialized
- Throws:
ObjectStreamException
-
writeReplace
Description copied from interface:SerializationStrategyCalled when serializing the AbstractItemModel aim- Specified by:
writeReplacein interfaceSerializationStrategy- Parameters:
aim- the AbstractItemModel to serialize- Returns:
- The (possibly different) object that will be serialized
- Throws:
ObjectStreamException
-