Package org.springframework.data.gemfire.mapping

Examples of org.springframework.data.gemfire.mapping.GemfireMappingContext.initialize()


    AnnotatedTypeScanner scanner = new AnnotatedTypeScanner(Region.class);

    GemfireMappingContext context = new GemfireMappingContext();
    context.setInitialEntitySet(scanner.findTypes(GemfireRepositoryConfig.class.getPackage().getName()));
    context.initialize();

    return context;
  }
}
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.