Class CaseFileInstanceMarshallingStrategy
- java.lang.Object
-
- org.jbpm.casemgmt.impl.marshalling.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 Summary
Constructors Constructor Description CaseFileInstanceMarshallingStrategy()CaseFileInstanceMarshallingStrategy(org.kie.api.marshalling.ObjectMarshallingStrategy... strategies)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanaccept(Object object)voidclose()org.kie.api.marshalling.ObjectMarshallingStrategy.ContextcreateContext()byte[]marshal(org.kie.api.marshalling.ObjectMarshallingStrategy.Context context, ObjectOutputStream os, Object object)voidonEnd(org.drools.persistence.api.TransactionManager txm)voidonStart(org.drools.persistence.api.TransactionManager txm)Objectread(ObjectInputStream os)Objectunmarshal(org.kie.api.marshalling.ObjectMarshallingStrategy.Context context, ObjectInputStream is, byte[] object, ClassLoader classloader)voidwrite(ObjectOutputStream os, Object object)
-
-
-
Method Detail
-
close
public void close()
- Specified by:
closein interfaceorg.kie.internal.runtime.Cacheable
-
onStart
public void onStart(org.drools.persistence.api.TransactionManager txm)
- Specified by:
onStartin interfaceorg.drools.persistence.api.TransactionAware
-
onEnd
public void onEnd(org.drools.persistence.api.TransactionManager txm)
- Specified by:
onEndin interfaceorg.drools.persistence.api.TransactionAware
-
accept
public boolean accept(Object object)
- Specified by:
acceptin interfaceorg.kie.api.marshalling.ObjectMarshallingStrategy
-
write
public void write(ObjectOutputStream os, Object object) throws IOException
- Specified by:
writein interfaceorg.kie.api.marshalling.ObjectMarshallingStrategy- Throws:
IOException
-
read
public Object read(ObjectInputStream os) throws IOException, ClassNotFoundException
- Specified by:
readin interfaceorg.kie.api.marshalling.ObjectMarshallingStrategy- Throws:
IOExceptionClassNotFoundException
-
marshal
public byte[] marshal(org.kie.api.marshalling.ObjectMarshallingStrategy.Context context, ObjectOutputStream os, Object object) throws IOException- Specified by:
marshalin interfaceorg.kie.api.marshalling.ObjectMarshallingStrategy- Throws:
IOException
-
unmarshal
public Object unmarshal(org.kie.api.marshalling.ObjectMarshallingStrategy.Context context, ObjectInputStream is, byte[] object, ClassLoader classloader) throws IOException, ClassNotFoundException
- Specified by:
unmarshalin interfaceorg.kie.api.marshalling.ObjectMarshallingStrategy- Throws:
IOExceptionClassNotFoundException
-
createContext
public org.kie.api.marshalling.ObjectMarshallingStrategy.Context createContext()
- Specified by:
createContextin interfaceorg.kie.api.marshalling.ObjectMarshallingStrategy
-
-