package com.di.ex05;

import org.springframework.context.support.GenericXmlApplicationContext;

public class DateTest {

	public static void main(String[] args) {
		
		GenericXmlApplicationContext gxac = new GenericXmlApplicationContext("com/di/ex05/applicationContext.xml");
		DateVO userA = (DateVO) gxac.getBean("userA");
		System.out.println(userA);
		
		System.out.println();
		
		DateVO userB = (DateVO) gxac.getBean("userB");
		System.out.println(userB);
		
		gxac.close();
	}

}