org.drools.marshalling.impl
Class DefaultMarshaller
java.lang.Object
org.drools.marshalling.impl.DefaultMarshaller
- All Implemented Interfaces:
- org.drools.marshalling.Marshaller
public class DefaultMarshaller
- extends Object
- implements org.drools.marshalling.Marshaller
Method Summary |
void |
marshall(OutputStream stream,
org.drools.runtime.StatefulKnowledgeSession ksession)
|
org.drools.runtime.StatefulKnowledgeSession |
unmarshall(InputStream stream)
|
org.drools.runtime.StatefulKnowledgeSession |
unmarshall(InputStream stream,
org.drools.runtime.KnowledgeSessionConfiguration config,
org.drools.runtime.Environment environment)
|
void |
unmarshall(InputStream stream,
org.drools.runtime.StatefulKnowledgeSession ksession)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultMarshaller
public DefaultMarshaller(org.drools.KnowledgeBase kbase,
MarshallingConfiguration marshallingConfig)
unmarshall
public org.drools.runtime.StatefulKnowledgeSession unmarshall(InputStream stream)
throws IOException,
ClassNotFoundException
- Specified by:
unmarshall
in interface org.drools.marshalling.Marshaller
- Throws:
IOException
ClassNotFoundException
unmarshall
public org.drools.runtime.StatefulKnowledgeSession unmarshall(InputStream stream,
org.drools.runtime.KnowledgeSessionConfiguration config,
org.drools.runtime.Environment environment)
throws IOException,
ClassNotFoundException
- Specified by:
unmarshall
in interface org.drools.marshalling.Marshaller
- Throws:
IOException
ClassNotFoundException
unmarshall
public void unmarshall(InputStream stream,
org.drools.runtime.StatefulKnowledgeSession ksession)
throws IOException,
ClassNotFoundException
- Specified by:
unmarshall
in interface org.drools.marshalling.Marshaller
- Throws:
IOException
ClassNotFoundException
marshall
public void marshall(OutputStream stream,
org.drools.runtime.StatefulKnowledgeSession ksession)
throws IOException
- Specified by:
marshall
in interface org.drools.marshalling.Marshaller
- Throws:
IOException
Copyright © 2001-2013 JBoss Inc.. All Rights Reserved.