Class IdentityPlaceholderResolverStrategy
java.lang.Object
org.drools.serialization.protobuf.marshalling.IdentityPlaceholderResolverStrategy
- All Implemented Interfaces:
org.kie.api.marshalling.ObjectMarshallingStrategy
public class IdentityPlaceholderResolverStrategy
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
ConstructorsConstructorDescriptionIdentityPlaceholderResolverStrategy(String name, org.kie.api.marshalling.ObjectMarshallingStrategyAcceptor acceptor) IdentityPlaceholderResolverStrategy(String name, org.kie.api.marshalling.ObjectMarshallingStrategyAcceptor acceptor, Map<Integer, Object> ids) IdentityPlaceholderResolverStrategy(org.kie.api.marshalling.ObjectMarshallingStrategyAcceptor acceptor) IdentityPlaceholderResolverStrategy(org.kie.api.marshalling.ObjectMarshallingStrategyAcceptor acceptor, Map<Integer, Object> ids) -
Method Summary
Modifier and TypeMethodDescriptionbooleanorg.kie.api.marshalling.ObjectMarshallingStrategy.ContextgetIds()getName()byte[]marshal(org.kie.api.marshalling.ObjectMarshallingStrategy.Context context, ObjectOutputStream os, Object object) voidunmarshal(org.kie.api.marshalling.ObjectMarshallingStrategy.Context context, ObjectInputStream is, byte[] object, ClassLoader classloader) voidwrite(ObjectOutputStream os, Object object)
-
Constructor Details
-
IdentityPlaceholderResolverStrategy
public IdentityPlaceholderResolverStrategy(org.kie.api.marshalling.ObjectMarshallingStrategyAcceptor acceptor) -
IdentityPlaceholderResolverStrategy
public IdentityPlaceholderResolverStrategy(String name, org.kie.api.marshalling.ObjectMarshallingStrategyAcceptor acceptor) -
IdentityPlaceholderResolverStrategy
-
IdentityPlaceholderResolverStrategy
-
-
Method Details
-
getName
- Specified by:
getNamein interfaceorg.kie.api.marshalling.ObjectMarshallingStrategy
-
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
-
getIds
-
setIds
-