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.


Field Summary
 
Fields inherited from interface org.mule.api.lifecycle.Initialisable
PHASE_NAME
 
Method Summary
 void serialize(File f, Object data)
           
 void serialize(File f, Object data, PersistenceHelper helper)
           
 
Methods inherited from interface org.mule.api.lifecycle.Initialisable
initialise
 

Method Detail

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.