Class CaseFileInstanceMarshallingStrategy

  • All Implemented Interfaces:
    org.drools.persistence.api.TransactionAware, org.kie.api.marshalling.ObjectMarshallingStrategy, org.kie.internal.runtime.Cacheable

    public class CaseFileInstanceMarshallingStrategy
    extends Object
    implements org.kie.api.marshalling.ObjectMarshallingStrategy, org.drools.persistence.api.TransactionAware, org.kie.internal.runtime.Cacheable
    • Constructor Detail

      • CaseFileInstanceMarshallingStrategy

        public CaseFileInstanceMarshallingStrategy()
      • CaseFileInstanceMarshallingStrategy

        public CaseFileInstanceMarshallingStrategy​(org.kie.api.marshalling.ObjectMarshallingStrategy... strategies)
    • Method Detail

      • close

        public void close()
        Specified by:
        close in interface org.kie.internal.runtime.Cacheable
      • onStart

        public void onStart​(org.drools.persistence.api.TransactionManager txm)
        Specified by:
        onStart in interface org.drools.persistence.api.TransactionAware
      • onEnd

        public void onEnd​(org.drools.persistence.api.TransactionManager txm)
        Specified by:
        onEnd in interface org.drools.persistence.api.TransactionAware
      • accept

        public boolean accept​(Object object)
        Specified by:
        accept in interface org.kie.api.marshalling.ObjectMarshallingStrategy
      • marshal

        public byte[] marshal​(org.kie.api.marshalling.ObjectMarshallingStrategy.Context context,
                              ObjectOutputStream os,
                              Object object)
                       throws IOException
        Specified by:
        marshal in interface org.kie.api.marshalling.ObjectMarshallingStrategy
        Throws:
        IOException
      • createContext

        public org.kie.api.marshalling.ObjectMarshallingStrategy.Context createContext()
        Specified by:
        createContext in interface org.kie.api.marshalling.ObjectMarshallingStrategy