org.springframework.core.serializer.DefaultDeserializer Java Examples

The following examples show how to use org.springframework.core.serializer.DefaultDeserializer. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: SpringDevToolsSerializer.java    From wicket-spring-boot with Apache License 2.0 4 votes vote down vote up
public SpringDevToolsSerializer(){
	this.deserializer = new DeserializingConverter(new DefaultDeserializer(Thread.currentThread().getContextClassLoader()));
}
 
Example #2
Source File: DeserializingConverter.java    From spring-analysis-note with MIT License 2 votes vote down vote up
/**
 * 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();
}
 
Example #3
Source File: DeserializingConverter.java    From spring-analysis-note with MIT License 2 votes vote down vote up
/**
 * 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);
}
 
Example #4
Source File: SerializationDelegate.java    From spring-analysis-note with MIT License 2 votes vote down vote up
/**
 * 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);
}
 
Example #5
Source File: DeserializingConverter.java    From java-technology-stack with MIT License 2 votes vote down vote up
/**
 * 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();
}
 
Example #6
Source File: DeserializingConverter.java    From java-technology-stack with MIT License 2 votes vote down vote up
/**
 * 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);
}
 
Example #7
Source File: SerializationDelegate.java    From java-technology-stack with MIT License 2 votes vote down vote up
/**
 * 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);
}
 
Example #8
Source File: DeserializingConverter.java    From lams with GNU General Public License v2.0 2 votes vote down vote up
/**
 * 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();
}
 
Example #9
Source File: DeserializingConverter.java    From lams with GNU General Public License v2.0 2 votes vote down vote up
/**
 * 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);
}
 
Example #10
Source File: SerializationDelegate.java    From lams with GNU General Public License v2.0 2 votes vote down vote up
/**
 * 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);
}
 
Example #11
Source File: DeserializingConverter.java    From spring4-understanding with Apache License 2.0 2 votes vote down vote up
/**
 * 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();
}
 
Example #12
Source File: DeserializingConverter.java    From spring4-understanding with Apache License 2.0 2 votes vote down vote up
/**
 * 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);
}