Spring Integration

org.springframework.commons.serializer.java
Class SerializingConverter

java.lang.Object
  extended by org.springframework.commons.serializer.java.SerializingConverter
All Implemented Interfaces:
Converter<Object,byte[]>

public class SerializingConverter
extends Object
implements Converter<Object,byte[]>

Delegates to a JavaStreamingConverter to serialize an object to a byte[]. Source object must implement Serializable.

Since:
2.0
Author:
Gary Russell

Constructor Summary
SerializingConverter()
           
 
Method Summary
 byte[] convert(Object source)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SerializingConverter

public SerializingConverter()
Method Detail

convert

public byte[] convert(Object source)
Specified by:
convert in interface Converter<Object,byte[]>

Spring Integration

Copyright © 2010. All Rights Reserved.