Package com.github.jmkgreen.morphia.mapping

Examples of com.github.jmkgreen.morphia.mapping.MapperOptions


     * @param morphia
     * @param injector
     */
    public GuiceExtension(final Morphia morphia, final Injector injector) {
        Assert.parameterNotNull(morphia, "morphia");
        final MapperOptions options = morphia.getMapper().getOptions();
        options.objectFactory =
                new GuiceObjectFactory(options.objectFactory, injector);
    }
View Full Code Here

TOP

Related Classes of com.github.jmkgreen.morphia.mapping.MapperOptions

Copyright © 2018 www.massapicom. All rights reserved.
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.