Interface Serializer

  • All Known Implementing Classes:
    StandardJavaSerializer

    public interface Serializer
    Service for serializing and deserializing Workflow instances and Response instances. The implementation decides how to serialize an instance, e.g. using standard java serialization or XML or...
    • Method Detail

      • serializeWorkflow

        SerializedWorkflow serializeWorkflow​(Workflow<?> o)
                                      throws java.lang.Exception
        Throws:
        java.lang.Exception
      • deserializeStateOnly

        Workflow<?> deserializeStateOnly​(java.lang.String state,
                                         WorkflowRepository wfRepo)
                                  throws java.lang.Exception
        Throws:
        java.lang.Exception
      • serializeResponse

        java.lang.String serializeResponse​(Response<?> r)
                                    throws java.lang.Exception
        Throws:
        java.lang.Exception
      • deserializeResponse

        Response<?> deserializeResponse​(java.lang.String _data)
                                 throws java.lang.Exception
        Throws:
        java.lang.Exception
      • serializeObject

        java.lang.String serializeObject​(java.io.Serializable o)
                                  throws java.lang.Exception
        Throws:
        java.lang.Exception
      • deserializeObject

        java.io.Serializable deserializeObject​(java.lang.String _data)
                                        throws java.lang.Exception
        Throws:
        java.lang.Exception