Class FallbackSpinObjectValueSerializer

  • All Implemented Interfaces:
    org.camunda.bpm.engine.impl.variable.serializer.TypedValueSerializer<org.camunda.bpm.engine.variable.value.ObjectValue>

    public class FallbackSpinObjectValueSerializer
    extends org.camunda.bpm.engine.impl.variable.serializer.AbstractObjectValueSerializer
    Author:
    Thorben Lindhauer
    • Field Detail

      • DESERIALIZED_OBJECTS_EXCEPTION_MESSAGE

        public static final String DESERIALIZED_OBJECTS_EXCEPTION_MESSAGE
        See Also:
        Constant Field Values
      • serializationFormat

        protected String serializationFormat
    • Constructor Detail

      • FallbackSpinObjectValueSerializer

        public FallbackSpinObjectValueSerializer​(String serializationFormat)
    • Method Detail

      • getName

        public String getName()
      • getTypeNameForDeserialized

        protected String getTypeNameForDeserialized​(Object deserializedObject)
        Specified by:
        getTypeNameForDeserialized in class org.camunda.bpm.engine.impl.variable.serializer.AbstractObjectValueSerializer
      • serializeToByteArray

        protected byte[] serializeToByteArray​(Object deserializedObject)
                                       throws Exception
        Specified by:
        serializeToByteArray in class org.camunda.bpm.engine.impl.variable.serializer.AbstractObjectValueSerializer
        Throws:
        Exception
      • deserializeFromByteArray

        protected Object deserializeFromByteArray​(byte[] object,
                                                  String objectTypeName)
                                           throws Exception
        Specified by:
        deserializeFromByteArray in class org.camunda.bpm.engine.impl.variable.serializer.AbstractObjectValueSerializer
        Throws:
        Exception
      • isSerializationTextBased

        protected boolean isSerializationTextBased()
        Specified by:
        isSerializationTextBased in class org.camunda.bpm.engine.impl.variable.serializer.AbstractObjectValueSerializer
      • canSerializeValue

        protected boolean canSerializeValue​(Object value)
        Specified by:
        canSerializeValue in class org.camunda.bpm.engine.impl.variable.serializer.AbstractSerializableValueSerializer<org.camunda.bpm.engine.variable.value.ObjectValue>