public interface Marshaller
| Modifier and Type | Method and Description |
|---|---|
MarshallingConfiguration |
getMarshallingConfiguration()
Returns the MarshallingConfiguration object for this marshaller
|
void |
marshall(OutputStream stream,
KieSession ksession)
Marshalls the given StatefulKnowledgeSession into the provided OutputStream
|
KieSession |
unmarshall(InputStream stream)
Creates StatefulKnowledgeSession using default KnowledgeSessionConfiguration and
Environment.
|
void |
unmarshall(InputStream stream,
KieSession ksession)
Unmarshall the stream into the StatefulKnowledgeSession.
|
KieSession |
unmarshall(InputStream stream,
KieSessionConfiguration config,
Environment environment)
Creates StatefulKnowledgeSession using the given KnowledgeSessionConfiguration and
Environment.
|
void marshall(OutputStream stream, KieSession ksession) throws IOException
stream - ksession - IOExceptionKieSession unmarshall(InputStream stream) throws IOException, ClassNotFoundException
stream - IOExceptionClassNotFoundExceptionKieSession unmarshall(InputStream stream, KieSessionConfiguration config, Environment environment) throws IOException, ClassNotFoundException
stream - config - environment - IOExceptionClassNotFoundExceptionvoid unmarshall(InputStream stream, KieSession ksession) throws IOException, ClassNotFoundException
stream - ksession - IOExceptionClassNotFoundExceptionMarshallingConfiguration getMarshallingConfiguration()
Copyright © 2001–2015 JBoss by Red Hat. All rights reserved.