Example usage for org.springframework.data.mongodb.core PersonExample doWork

List of usage examples for org.springframework.data.mongodb.core PersonExample doWork

Introduction

In this page you can find the example usage for org.springframework.data.mongodb.core PersonExample doWork.

Prototype

public void doWork() 

Source Link

Usage

From source file:org.springframework.data.mongodb.core.PersonExample.java

public static void main(String[] args) {
    ApplicationContext applicationContext = new AnnotationConfigApplicationContext(
            PersonExampleAppConfig.class);
    PersonExample example = applicationContext.getBean(PersonExample.class);
    example.doWork();
}