List of usage examples for org.springframework.core.serializer Serializer interface-usage
From source file org.springdata.ehcache.serializer.DataSerializer.java
public class DataSerializer<T> implements Serializer<T> { @Override public void serialize(T object, OutputStream outputStream) throws IOException { DataSerializable io = (DataSerializable) object;
From source file grails.plugin.cache.web.filter.redis.GrailsSerializer.java
/** * @author Burt Beckwith */ public class GrailsSerializer implements Serializer<Object> { public void serialize(Object object, OutputStream outputStream) throws IOException {
From source file org.musa.payload.MechanicusTeleportSender.java
/** * * @author mephisto9000 */ public class MechanicusTeleportSender implements Serializer<SpaceMarine> {
From source file com.acmemotors.integration.OBD2Serializer.java
/** * @author mminella */ public class OBD2Serializer implements Serializer<String>, Deserializer<String> { /**
From source file org.springframework.integration.ip.tcp.serializer.AbstractByteArraySerializer.java
/**
* Base class for (de)serializers that provide a mechanism to
* reconstruct a byte array from an arbitrary stream.
*
* @author Gary Russell
* @since 2.0
From source file org.vader.common.spring.cache.KryoConverter.java
/** * @author Vadim Baranov * * @param <T> convert type */ public class KryoConverter<T> implements Serializer<T>, Deserializer<T> {
From source file pl.edu.spring.tcp.CustomSerializerDeserializer.java
public class CustomSerializerDeserializer implements Serializer<Object>, Deserializer<Object> { private static final int SENDER_NAME_LENGTH = 10; private final ClassLoader classLoader;
From source file com.haythem.integration.CustomSerializerDeserializer.java
/**
* This class is used to demonstrate how you can create a custom serializer/deserializer
* to convert a TCP stream into custom objects which your domain-specific code can use.
*
* Since this is custom, it will have to have its own predefined assumptions for dealing
* with the stream. In other words, there will have to be some indication within the
From source file org.springframework.integration.samples.tcpclientserver.CustomSerializerDeserializer.java
/**
* This class is used to demonstrate how you can create a custom serializer/deserializer
* to convert a TCP stream into custom objects which your domain-specific code can use.
*
* Since this is custom, it will have to have its own predefined assumptions for dealing
* with the stream. In other words, there will have to be some indication within the
From source file org.springframework.yarn.integration.ip.mind.MindRpcSerializer.java
/**
* Spring {@link Serializer} and {@link Deserializer} interfaces
* for mind protocol.
*
* @author Janne Valkealahti
*