com.tsguild.masteryflooringproject.MasteryFlooringProjectApp.java Source code

Java tutorial

Introduction

Here is the source code for com.tsguild.masteryflooringproject.MasteryFlooringProjectApp.java

Source

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.tsguild.masteryflooringproject;

import com.tsguild.masteryflooringproject.ops.MasteryFlooringProjectController;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 *choosing
 * @author apprentice
 */
public class MasteryFlooringProjectApp {

    public static void main(String[] args) {
        ApplicationContext springFactory = new ClassPathXmlApplicationContext("applicationContext.xml");
        MasteryFlooringProjectController controller = springFactory.getBean("controller",
                MasteryFlooringProjectController.class);
        controller.run();
    }
}