RestartCompatibleRedisSerializer(ClassLoader classLoader) { this.deserializer = new DeserializingConverter( new DefaultDeserializer(classLoader)); }
public SpringDevToolsSerializer(){ this.deserializer = new DeserializingConverter(new DefaultDeserializer(Thread.currentThread().getContextClassLoader())); }
/** * Create a default DeserializingConverter that uses standard Java deserialization. */ public DeserializingConverter() { this.deserializer = new DefaultDeserializer(); }
/** * Create a {@code DeserializingConverter} with default {@link java.io.ObjectInputStream} * configuration, using the "latest user-defined ClassLoader". * @see DefaultDeserializer#DefaultDeserializer() */ public DeserializingConverter() { this.deserializer = new DefaultDeserializer(); }
/** * Create a {@code DeserializingConverter} for using an {@link java.io.ObjectInputStream} * with the given {@code ClassLoader}. * @since 4.2.1 * @see DefaultDeserializer#DefaultDeserializer(ClassLoader) */ public DeserializingConverter(ClassLoader classLoader) { this.deserializer = new DefaultDeserializer(classLoader); }
/** * Create a {@code SerializationDelegate} with a default serializer/deserializer * for the given {@code ClassLoader}. * @see DefaultDeserializer * @see DefaultDeserializer#DefaultDeserializer(ClassLoader) */ public SerializationDelegate(ClassLoader classLoader) { this.serializer = new DefaultSerializer(); this.deserializer = new DefaultDeserializer(classLoader); }