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
- 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()
MarshallingConfiguration
object for this marshaller.Copyright © 2001–2017 JBoss by Red Hat. All rights reserved.