org.mule.api.persistence
Interface PersistenceSerializer
- All Superinterfaces:
- Initialisable
public interface PersistenceSerializer
- extends Initialisable
The purpose of a PersistenceSerializer is to customize the persistence
of a Persistable object. Two examples of persistence serializers are the
XStreamSerializer and the JavaSeralizer.
serialize
void serialize(File f,
Object data)
throws Exception
- Throws:
Exception
serialize
void serialize(File f,
Object data,
PersistenceHelper helper)
throws Exception
- Throws:
Exception
Copyright © 2003-2008 MuleSource, Inc.. All Rights Reserved.