public class HessianROPSerializationService extends Object implements ROPSerializationService
Modifier and Type | Field and Description |
---|---|
protected com.caucho.hessian.io.SerializerFactory |
serializerFactory |
Constructor and Description |
---|
HessianROPSerializationService(com.caucho.hessian.io.SerializerFactory serializerFactory) |
Modifier and Type | Method and Description |
---|---|
<T> T |
deserialize(byte[] serializedObject,
Class<T> objectClass) |
<T> T |
deserialize(InputStream input,
Class<T> objectClass) |
byte[] |
serialize(Object object) |
void |
serialize(Object object,
OutputStream outputStream) |
public HessianROPSerializationService(com.caucho.hessian.io.SerializerFactory serializerFactory)
public byte[] serialize(Object object) throws IOException
serialize
in interface ROPSerializationService
IOException
public void serialize(Object object, OutputStream outputStream) throws IOException
serialize
in interface ROPSerializationService
IOException
public <T> T deserialize(byte[] serializedObject, Class<T> objectClass) throws IOException
deserialize
in interface ROPSerializationService
IOException
public <T> T deserialize(InputStream input, Class<T> objectClass) throws IOException
deserialize
in interface ROPSerializationService
IOException
Copyright © 2001–2023 Apache Cayenne. All rights reserved.