public class CaseFileInstanceMarshallingStrategy extends Object implements org.kie.api.marshalling.ObjectMarshallingStrategy, org.drools.persistence.api.TransactionAware, org.kie.internal.runtime.Cacheable
Constructor and Description |
---|
CaseFileInstanceMarshallingStrategy() |
CaseFileInstanceMarshallingStrategy(org.kie.api.marshalling.ObjectMarshallingStrategy... strategies) |
Modifier and Type | Method and Description |
---|---|
boolean |
accept(Object object) |
void |
close() |
org.kie.api.marshalling.ObjectMarshallingStrategy.Context |
createContext() |
byte[] |
marshal(org.kie.api.marshalling.ObjectMarshallingStrategy.Context context,
ObjectOutputStream os,
Object object) |
void |
onEnd(org.drools.persistence.api.TransactionManager txm) |
void |
onStart(org.drools.persistence.api.TransactionManager txm) |
Object |
read(ObjectInputStream os) |
Object |
unmarshal(org.kie.api.marshalling.ObjectMarshallingStrategy.Context context,
ObjectInputStream is,
byte[] object,
ClassLoader classloader) |
void |
write(ObjectOutputStream os,
Object object) |
public CaseFileInstanceMarshallingStrategy()
public CaseFileInstanceMarshallingStrategy(org.kie.api.marshalling.ObjectMarshallingStrategy... strategies)
public void close()
close
in interface org.kie.internal.runtime.Cacheable
public void onStart(org.drools.persistence.api.TransactionManager txm)
onStart
in interface org.drools.persistence.api.TransactionAware
public void onEnd(org.drools.persistence.api.TransactionManager txm)
onEnd
in interface org.drools.persistence.api.TransactionAware
public boolean accept(Object object)
accept
in interface org.kie.api.marshalling.ObjectMarshallingStrategy
public void write(ObjectOutputStream os, Object object) throws IOException
write
in interface org.kie.api.marshalling.ObjectMarshallingStrategy
IOException
public Object read(ObjectInputStream os) throws IOException, ClassNotFoundException
read
in interface org.kie.api.marshalling.ObjectMarshallingStrategy
IOException
ClassNotFoundException
public byte[] marshal(org.kie.api.marshalling.ObjectMarshallingStrategy.Context context, ObjectOutputStream os, Object object) throws IOException
marshal
in interface org.kie.api.marshalling.ObjectMarshallingStrategy
IOException
public Object unmarshal(org.kie.api.marshalling.ObjectMarshallingStrategy.Context context, ObjectInputStream is, byte[] object, ClassLoader classloader) throws IOException, ClassNotFoundException
unmarshal
in interface org.kie.api.marshalling.ObjectMarshallingStrategy
IOException
ClassNotFoundException
public org.kie.api.marshalling.ObjectMarshallingStrategy.Context createContext()
createContext
in interface org.kie.api.marshalling.ObjectMarshallingStrategy
Copyright © 2001–2019 JBoss by Red Hat. All rights reserved.