![JAR search and dependency download from the Maven repository](/logo.png)
com.jrodeo.bson.marshallers.MarshallerFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bson-marshaller Show documentation
Show all versions of bson-marshaller Show documentation
A tool to create Java marshallers to and from bson. Currently used in a data access
layer serialize Json to Bson for MongoDB storage.
package com.jrodeo.bson.marshallers;
import java.util.List;
/**
* The MarshallerGenerator
will build implementations of this interface to
* register various bean marshallers.
*/
public interface MarshallerFactory {
/**
* This method is used at runtime by the generated factories to register marshallers for
* various beans.
*
* @param marshaller the Marshaller to register
*/
void registerMarshaller(Marshaller marshaller);
/**
* This method is used at runtime to lookup what marshallers the implementation has.
*
* @return a List of Marshallers registerd with this factory.
*/
List getMarshallers();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy