객체를 물러오는 법1 [SPRING] 스프링으로 객체 가져오기 applicationcontext.xml 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 나는 생성자 자바로 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 package com.naver.myhome1.sample5; import org.springframework.context.support.GenericXmlApplicationContext; public class HelloApp2 { public static void main(String[] args) { MessageBeanImpl bean = new MessageBeanImpl("Spring!!"); FileOutputter fo = new FileOutputter(); fo.setF.. 2019. 6. 20. 이전 1 다음