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