
public interface Marshaller
| Modifier and Type | Method and Description |
|---|---|
MarshallingConfiguration |
getMarshallingConfiguration() |
void |
marshall(OutputStream stream,
KieSession ksession)
Marshalls the given KieSession into the provided OutputStream
|
KieSession |
unmarshall(InputStream stream)
Creates KieSession using default KieSessionConfiguration and
Environment.
|
void |
unmarshall(InputStream stream,
KieSession ksession)
Unmarshall the stream into the KieSession.
|
KieSession |
unmarshall(InputStream stream,
KieSessionConfiguration config,
Environment environment)
Creates KieSession using the given KieSessionConfiguration 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()
MarshallingConfiguration object for this marshaller.Copyright © 2001–2016 JBoss by Red Hat. All rights reserved.