org.jbpm.marshalling.impl
Class AbstractProcessInstanceMarshaller
java.lang.Object
org.jbpm.marshalling.impl.AbstractProcessInstanceMarshaller
- All Implemented Interfaces:
- ProcessInstanceMarshaller
- Direct Known Subclasses:
- RuleFlowProcessInstanceMarshaller
public abstract class AbstractProcessInstanceMarshaller
- extends Object
- implements ProcessInstanceMarshaller
Default implementation of a process instance marshaller.
Method Summary |
protected abstract WorkflowProcessInstanceImpl |
createProcessInstance()
|
org.drools.runtime.process.NodeInstance |
readNodeInstance(org.drools.marshalling.impl.MarshallerReaderContext context,
org.drools.runtime.process.NodeInstanceContainer nodeInstanceContainer,
org.drools.runtime.process.WorkflowProcessInstance processInstance)
|
protected NodeInstanceImpl |
readNodeInstanceContent(int nodeType,
ObjectInputStream stream,
org.drools.marshalling.impl.MarshallerReaderContext context,
org.drools.runtime.process.WorkflowProcessInstance processInstance)
|
org.drools.runtime.process.ProcessInstance |
readProcessInstance(org.drools.marshalling.impl.MarshallerReaderContext context)
|
Object |
writeNodeInstance(org.drools.marshalling.impl.MarshallerWriteContext context,
org.drools.runtime.process.NodeInstance nodeInstance)
|
protected void |
writeNodeInstanceContent(ObjectOutputStream stream,
org.drools.runtime.process.NodeInstance nodeInstance,
org.drools.marshalling.impl.MarshallerWriteContext context)
|
Object |
writeProcessInstance(org.drools.marshalling.impl.MarshallerWriteContext context,
org.drools.runtime.process.ProcessInstance processInstance)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractProcessInstanceMarshaller
public AbstractProcessInstanceMarshaller()
writeProcessInstance
public Object writeProcessInstance(org.drools.marshalling.impl.MarshallerWriteContext context,
org.drools.runtime.process.ProcessInstance processInstance)
throws IOException
- Specified by:
writeProcessInstance
in interface ProcessInstanceMarshaller
- Throws:
IOException
writeNodeInstance
public Object writeNodeInstance(org.drools.marshalling.impl.MarshallerWriteContext context,
org.drools.runtime.process.NodeInstance nodeInstance)
throws IOException
- Specified by:
writeNodeInstance
in interface ProcessInstanceMarshaller
- Throws:
IOException
writeNodeInstanceContent
protected void writeNodeInstanceContent(ObjectOutputStream stream,
org.drools.runtime.process.NodeInstance nodeInstance,
org.drools.marshalling.impl.MarshallerWriteContext context)
throws IOException
- Throws:
IOException
readProcessInstance
public org.drools.runtime.process.ProcessInstance readProcessInstance(org.drools.marshalling.impl.MarshallerReaderContext context)
throws IOException
- Specified by:
readProcessInstance
in interface ProcessInstanceMarshaller
- Throws:
IOException
createProcessInstance
protected abstract WorkflowProcessInstanceImpl createProcessInstance()
readNodeInstance
public org.drools.runtime.process.NodeInstance readNodeInstance(org.drools.marshalling.impl.MarshallerReaderContext context,
org.drools.runtime.process.NodeInstanceContainer nodeInstanceContainer,
org.drools.runtime.process.WorkflowProcessInstance processInstance)
throws IOException
- Specified by:
readNodeInstance
in interface ProcessInstanceMarshaller
- Throws:
IOException
readNodeInstanceContent
protected NodeInstanceImpl readNodeInstanceContent(int nodeType,
ObjectInputStream stream,
org.drools.marshalling.impl.MarshallerReaderContext context,
org.drools.runtime.process.WorkflowProcessInstance processInstance)
throws IOException
- Throws:
IOException
Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.