use of org.kie.workbench.common.services.backend.kmodule.converters.FileLoggerConverter in project kie-wb-common by kiegroup.
the class KModuleContentHandler method createXStream.
private XStream createXStream() {
XStream xStream = XStreamUtils.createTrustingXStream(new DomDriver());
xStream.registerConverter(new KModuleConverter());
xStream.registerConverter(new KBaseConverter());
xStream.registerConverter(new KSessionConverter());
xStream.registerConverter(new ClockTypeConverter());
xStream.registerConverter(new ListenerConverter());
xStream.registerConverter(new QualifierConverter());
xStream.registerConverter(new WorkItemHandlerConverter());
xStream.registerConverter(new FileLoggerConverter());
xStream.alias("kmodule", KModuleModel.class);
xStream.alias("kbase", KBaseModel.class);
xStream.alias("ksession", KSessionModel.class);
xStream.alias("clockType", ClockTypeOption.class);
xStream.alias("listener", ListenerModel.class);
xStream.alias("qualifier", QualifierModel.class);
xStream.alias("workItemHandler", WorkItemHandlerModel.class);
return xStream;
}
Aggregations