|
jBPM distribution 6.1.0.Beta4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jbpm.runtime.manager.impl.deploy.DeploymentDescriptorIO
public class DeploymentDescriptorIO
XML based deployment descriptor IO manager to read and write descriptors.
Underlying uses XStream
for serialization with special class
and field mapping for more readability of the produced XML output.
Constructor Summary | |
---|---|
DeploymentDescriptorIO()
|
Method Summary | |
---|---|
static org.kie.internal.runtime.conf.DeploymentDescriptor |
fromXml(InputStream inputStream)
Reads XML data from given input stream and produces valid instance of DeploymentDescriptor |
static JAXBContext |
getContext()
|
static String |
toXml(org.kie.internal.runtime.conf.DeploymentDescriptor descriptor)
Serializes descriptor instance to XML |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DeploymentDescriptorIO()
Method Detail |
---|
public static org.kie.internal.runtime.conf.DeploymentDescriptor fromXml(InputStream inputStream)
DeploymentDescriptor
inputStream
- input stream that comes with xml data of the descriptor
public static String toXml(org.kie.internal.runtime.conf.DeploymentDescriptor descriptor)
descriptor
- descriptor to be serialized
public static JAXBContext getContext() throws JAXBException, SAXException
JAXBException
SAXException
|
jBPM distribution 6.1.0.Beta4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |