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 - ksession - IOExceptionStatefulKnowledgeSession unmarshall(InputStream stream) throws IOException, ClassNotFoundException
stream - IOExceptionClassNotFoundExceptionStatefulKnowledgeSession unmarshall(InputStream stream, KnowledgeSessionConfiguration config, Environment environment) throws IOException, ClassNotFoundException
stream - config - environment - IOExceptionClassNotFoundExceptionvoid unmarshall(InputStream stream, StatefulKnowledgeSession ksession) throws IOException, ClassNotFoundException
stream - ksession - IOExceptionClassNotFoundExceptionMarshallingConfiguration getMarshallingConfiguration()
Copyright © 2001–2015 JBoss by Red Hat. All rights reserved.