# Uses of Interface
org.kie.api.marshalling.ObjectMarshallingStrategy.Context

Packages that use ObjectMarshallingStrategy.Context
Package
Description
org.kie.api.marshalling
Marshalling classes are used to marshall and unmarshal StatefulKieSessions

- ## Uses of ObjectMarshallingStrategy.Context in org.kie.api.marshalling

  Methods in org.kie.api.marshalling that return ObjectMarshallingStrategy.Context
  Modifier and Type
  Method
  Description
  `ObjectMarshallingStrategy.Context`
  ObjectMarshallingStrategy.`createContext()`
  Creates a new marshalling context
  Methods in org.kie.api.marshalling with parameters of type ObjectMarshallingStrategy.Context
  Modifier and Type
  Method
  Description
  `byte[]`
  ObjectMarshallingStrategy.`marshal(ObjectMarshallingStrategy.Context context, ObjectOutputStream os, Object object)`
  This method is analogous to the write() method, but instead of writing the object into an output stream, it returns the marshalled object as a byte[].
  `Object`
  ObjectMarshallingStrategy.`unmarshal(ObjectMarshallingStrategy.Context context, ObjectInputStream is, byte[] object, ClassLoader classloader)`
  This method is analogous to the read method, but instead of reading it from an input stream, it reads it from a byte[]