interface for custom marshallers. Custom marshallers can be used for tuning the performance to store and read objects. Instead of letting db4o do all the marshalling by detecting the fields on a class and by using reflection, a custom {@link ObjectMarshaller ObjectMarshaller} allows the application developer to write the logic how the fields of an object are converted to a byte[] and back.
To implement a custom marshaller, write a class that implements the methods of the {@link ObjectMarshaller ObjectMarshaller}interface and register it for your persistent class: Db4o.configure().objectClass(YourClass.class).marshallWith(yourMarshaller);
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.