public class ProtobufMarshaller extends Object implements InternalMarshaller
| Modifier and Type | Field and Description |
|---|---|
protected KieSessionInitializer |
initializer |
protected org.kie.api.KieBase |
kbase |
protected org.kie.api.marshalling.MarshallingConfiguration |
marshallingConfig |
protected RuleBaseConfiguration |
ruleBaseConfig |
protected org.kie.api.marshalling.ObjectMarshallingStrategyStore |
strategyStore |
static Map<Integer,TimersInputMarshaller> |
TIMER_READERS |
| Constructor and Description |
|---|
ProtobufMarshaller(org.kie.api.KieBase kbase,
org.kie.api.marshalling.MarshallingConfiguration marshallingConfig) |
| Modifier and Type | Method and Description |
|---|---|
KieSessionInitializer |
getInitializer() |
org.kie.api.marshalling.MarshallingConfiguration |
getMarshallingConfiguration() |
void |
marshall(OutputStream stream,
org.kie.api.runtime.KieSession ksession) |
void |
marshall(OutputStream stream,
org.kie.api.runtime.KieSession ksession,
long clockTime) |
void |
setInitializer(KieSessionInitializer initializer) |
org.kie.internal.runtime.StatefulKnowledgeSession |
unmarshall(InputStream stream) |
void |
unmarshall(InputStream stream,
org.kie.api.runtime.KieSession ksession) |
org.kie.internal.runtime.StatefulKnowledgeSession |
unmarshall(InputStream stream,
org.kie.api.runtime.KieSessionConfiguration config,
org.kie.api.runtime.Environment environment) |
ReadSessionResult |
unmarshallWithMessage(InputStream stream,
org.kie.api.runtime.KieSessionConfiguration config,
org.kie.api.runtime.Environment environment) |
protected KieSessionInitializer initializer
public static final Map<Integer,TimersInputMarshaller> TIMER_READERS
protected org.kie.api.KieBase kbase
protected RuleBaseConfiguration ruleBaseConfig
protected org.kie.api.marshalling.MarshallingConfiguration marshallingConfig
protected org.kie.api.marshalling.ObjectMarshallingStrategyStore strategyStore
public ProtobufMarshaller(org.kie.api.KieBase kbase,
org.kie.api.marshalling.MarshallingConfiguration marshallingConfig)
public KieSessionInitializer getInitializer()
getInitializer in interface InternalMarshallerpublic void setInitializer(KieSessionInitializer initializer)
setInitializer in interface InternalMarshallerpublic org.kie.internal.runtime.StatefulKnowledgeSession unmarshall(InputStream stream) throws IOException, ClassNotFoundException
unmarshall in interface org.kie.api.marshalling.MarshallerIOExceptionClassNotFoundExceptionpublic org.kie.internal.runtime.StatefulKnowledgeSession unmarshall(InputStream stream, org.kie.api.runtime.KieSessionConfiguration config, org.kie.api.runtime.Environment environment) throws IOException, ClassNotFoundException
unmarshall in interface org.kie.api.marshalling.MarshallerIOExceptionClassNotFoundExceptionpublic void unmarshall(InputStream stream, org.kie.api.runtime.KieSession ksession) throws IOException, ClassNotFoundException
unmarshall in interface org.kie.api.marshalling.MarshallerIOExceptionClassNotFoundExceptionpublic void marshall(OutputStream stream, org.kie.api.runtime.KieSession ksession) throws IOException
marshall in interface org.kie.api.marshalling.MarshallerIOExceptionpublic void marshall(OutputStream stream, org.kie.api.runtime.KieSession ksession, long clockTime) throws IOException
IOExceptionpublic org.kie.api.marshalling.MarshallingConfiguration getMarshallingConfiguration()
getMarshallingConfiguration in interface org.kie.api.marshalling.Marshallerpublic ReadSessionResult unmarshallWithMessage(InputStream stream, org.kie.api.runtime.KieSessionConfiguration config, org.kie.api.runtime.Environment environment) throws IOException, ClassNotFoundException
IOExceptionClassNotFoundExceptionCopyright © 2001–2019 JBoss by Red Hat. All rights reserved.