Search in sources :

Example 1 with DataFormats

use of org.camunda.spin.DataFormats in project camunda-bpm-platform by camunda.

the class SpinBpmPlatformPlugin method lookupSpinSerializers.

protected List<TypedValueSerializer<?>> lookupSpinSerializers(ClassLoader classLoader) {
    DataFormats paDataFormats = new DataFormats();
    paDataFormats.registerDataFormats(classLoader);
    // this is still an open feature CAM-5246
    return SpinVariableSerializers.createObjectValueSerializers(paDataFormats);
}
Also used : DataFormats(org.camunda.spin.DataFormats)

Example 2 with DataFormats

use of org.camunda.spin.DataFormats in project camunda-bpm-platform by camunda.

the class SpinProcessEnginePlugin method lookupSpinSerializers.

protected List<TypedValueSerializer<?>> lookupSpinSerializers() {
    DataFormats globalFormats = DataFormats.getInstance();
    List<TypedValueSerializer<?>> serializers = SpinVariableSerializers.createObjectValueSerializers(globalFormats);
    serializers.addAll(SpinVariableSerializers.createSpinValueSerializers(globalFormats));
    return serializers;
}
Also used : TypedValueSerializer(org.camunda.bpm.engine.impl.variable.serializer.TypedValueSerializer) DataFormats(org.camunda.spin.DataFormats)

Aggregations

DataFormats (org.camunda.spin.DataFormats)2 TypedValueSerializer (org.camunda.bpm.engine.impl.variable.serializer.TypedValueSerializer)1