Class JavaSerializableResolverStrategy
java.lang.Object
org.drools.serialization.protobuf.marshalling.JavaSerializableResolverStrategy
- All Implemented Interfaces:
org.kie.api.marshalling.ObjectMarshallingStrategy
public class JavaSerializableResolverStrategy
extends Object
implements org.kie.api.marshalling.ObjectMarshallingStrategy
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.kie.api.marshalling.ObjectMarshallingStrategy
org.kie.api.marshalling.ObjectMarshallingStrategy.Context -
Constructor Summary
ConstructorsConstructorDescriptionJavaSerializableResolverStrategy(org.kie.api.marshalling.ObjectMarshallingStrategyAcceptor acceptor) -
Method Summary
Modifier and TypeMethodDescriptionbooleanorg.kie.api.marshalling.ObjectMarshallingStrategy.Contextbyte[]marshal(org.kie.api.marshalling.ObjectMarshallingStrategy.Context context, ObjectOutputStream os, Object object) toString()unmarshal(org.kie.api.marshalling.ObjectMarshallingStrategy.Context context, ObjectInputStream is, byte[] object, ClassLoader classloader) voidwrite(ObjectOutputStream os, Object object) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.kie.api.marshalling.ObjectMarshallingStrategy
getName
-
Constructor Details
-
JavaSerializableResolverStrategy
public JavaSerializableResolverStrategy(org.kie.api.marshalling.ObjectMarshallingStrategyAcceptor acceptor)
-
-
Method Details
-
read
- Specified by:
readin interfaceorg.kie.api.marshalling.ObjectMarshallingStrategy- Throws:
IOExceptionClassNotFoundException
-
write
- Specified by:
writein interfaceorg.kie.api.marshalling.ObjectMarshallingStrategy- Throws:
IOException
-
accept
- Specified by:
acceptin interfaceorg.kie.api.marshalling.ObjectMarshallingStrategy
-
marshal
public byte[] marshal(org.kie.api.marshalling.ObjectMarshallingStrategy.Context context, ObjectOutputStream os, Object object) - Specified by:
marshalin interfaceorg.kie.api.marshalling.ObjectMarshallingStrategy
-
unmarshal
public Object unmarshal(org.kie.api.marshalling.ObjectMarshallingStrategy.Context context, ObjectInputStream is, byte[] object, ClassLoader classloader) - Specified by:
unmarshalin interfaceorg.kie.api.marshalling.ObjectMarshallingStrategy
-
createContext
public org.kie.api.marshalling.ObjectMarshallingStrategy.Context createContext()- Specified by:
createContextin interfaceorg.kie.api.marshalling.ObjectMarshallingStrategy
-
toString
-