Search in sources :

Example 1 with BooleanValueSerializer

use of org.camunda.bpm.engine.impl.variable.serializer.BooleanValueSerializer in project camunda-bpm-platform by camunda.

the class ProcessEngineConfigurationImpl method initSerialization.

protected void initSerialization() {
    if (variableSerializers == null) {
        variableSerializers = new DefaultVariableSerializers();
        if (customPreVariableSerializers != null) {
            for (TypedValueSerializer<?> customVariableType : customPreVariableSerializers) {
                variableSerializers.addSerializer(customVariableType);
            }
        }
        // register built-in serializers
        variableSerializers.addSerializer(new NullValueSerializer());
        variableSerializers.addSerializer(new StringValueSerializer());
        variableSerializers.addSerializer(new BooleanValueSerializer());
        variableSerializers.addSerializer(new ShortValueSerializer());
        variableSerializers.addSerializer(new IntegerValueSerializer());
        variableSerializers.addSerializer(new LongValueSerlializer());
        variableSerializers.addSerializer(new DateValueSerializer());
        variableSerializers.addSerializer(new DoubleValueSerializer());
        variableSerializers.addSerializer(new ByteArrayValueSerializer());
        variableSerializers.addSerializer(new JavaObjectSerializer());
        variableSerializers.addSerializer(new FileValueSerializer());
        if (customPostVariableSerializers != null) {
            for (TypedValueSerializer<?> customVariableType : customPostVariableSerializers) {
                variableSerializers.addSerializer(customVariableType);
            }
        }
    }
}
Also used : LongValueSerlializer(org.camunda.bpm.engine.impl.variable.serializer.LongValueSerlializer) FileValueSerializer(org.camunda.bpm.engine.impl.variable.serializer.FileValueSerializer) DefaultVariableSerializers(org.camunda.bpm.engine.impl.variable.serializer.DefaultVariableSerializers) DoubleValueSerializer(org.camunda.bpm.engine.impl.variable.serializer.DoubleValueSerializer) BooleanValueSerializer(org.camunda.bpm.engine.impl.variable.serializer.BooleanValueSerializer) ShortValueSerializer(org.camunda.bpm.engine.impl.variable.serializer.ShortValueSerializer) JavaObjectSerializer(org.camunda.bpm.engine.impl.variable.serializer.JavaObjectSerializer) IntegerValueSerializer(org.camunda.bpm.engine.impl.variable.serializer.IntegerValueSerializer) ByteArrayValueSerializer(org.camunda.bpm.engine.impl.variable.serializer.ByteArrayValueSerializer) DateValueSerializer(org.camunda.bpm.engine.impl.variable.serializer.DateValueSerializer) NullValueSerializer(org.camunda.bpm.engine.impl.variable.serializer.NullValueSerializer) StringValueSerializer(org.camunda.bpm.engine.impl.variable.serializer.StringValueSerializer)

Aggregations

BooleanValueSerializer (org.camunda.bpm.engine.impl.variable.serializer.BooleanValueSerializer)1 ByteArrayValueSerializer (org.camunda.bpm.engine.impl.variable.serializer.ByteArrayValueSerializer)1 DateValueSerializer (org.camunda.bpm.engine.impl.variable.serializer.DateValueSerializer)1 DefaultVariableSerializers (org.camunda.bpm.engine.impl.variable.serializer.DefaultVariableSerializers)1 DoubleValueSerializer (org.camunda.bpm.engine.impl.variable.serializer.DoubleValueSerializer)1 FileValueSerializer (org.camunda.bpm.engine.impl.variable.serializer.FileValueSerializer)1 IntegerValueSerializer (org.camunda.bpm.engine.impl.variable.serializer.IntegerValueSerializer)1 JavaObjectSerializer (org.camunda.bpm.engine.impl.variable.serializer.JavaObjectSerializer)1 LongValueSerlializer (org.camunda.bpm.engine.impl.variable.serializer.LongValueSerlializer)1 NullValueSerializer (org.camunda.bpm.engine.impl.variable.serializer.NullValueSerializer)1 ShortValueSerializer (org.camunda.bpm.engine.impl.variable.serializer.ShortValueSerializer)1 StringValueSerializer (org.camunda.bpm.engine.impl.variable.serializer.StringValueSerializer)1