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
- IOException
KieSession unmarshall(InputStream stream) throws IOException, ClassNotFoundException
stream
- IOException
ClassNotFoundException
KieSession unmarshall(InputStream stream, KieSessionConfiguration config, Environment environment) throws IOException, ClassNotFoundException
stream
- config
- environment
- IOException
ClassNotFoundException
void unmarshall(InputStream stream, KieSession ksession) throws IOException, ClassNotFoundException
stream
- ksession
- IOException
ClassNotFoundException
MarshallingConfiguration getMarshallingConfiguration()
Copyright © 2001–2015 JBoss by Red Hat. All rights reserved.