본문 바로가기 메뉴 바로가기

Repository

프로필사진
  • 글쓰기
  • 관리
  • 태그
  • 방명록
  • RSS

Repository

검색하기 폼
  • Deoki
    • Spring
      • Spring MVC
      • Spring Security
    • Liferay
      • Installation
      • Portal
      • Plugins
    • MyBatis
    • Hibernate
    • Maven
    • Java
    • Javascript
      • Angular JS
      • Ext JS
      • Sencha Touch
      • Node.js
    • Python
    • Swift
    • Android
    • Database
      • Oracle
      • MySQL
      • MSSQL
    • JSP & Servlet
    • OS
      • Windows
      • Linux
    • Programing Trend
    • Tool
    • Device
    • Blog
  • 방명록

spring container (2)
Spring MVC 컨테이너 간 계층

1 컨테이너 간 계층 BeanFactory와 ApplicationContext 컨테이너는 서로 자식-부모의 계층관계를 가질 수 있다. 컨테이너간 계층 구조를 구성하면, 자식컨테이너에서 부모컨테이너에 정의한 빈 객체에 접근할수 있다. 하지만 부모컨테이너에서는 자식 컨테이너에 정의된 빈 객체에 접근할 수 없다. JAVA에서의 상속관계와 같은 특징이 있다고 생각하면 된다. ApplicationContext나 BeanFactory 컨테이너를 생성할 때 컨테이너간의 계층관계를 구성하려면 컨테이너 생성시 부모컨테이너를 지정해 주면 된다. 위의 childContainer 컨테이너를 생성할 때 부모 컨테이너로 parentContainer를 지정하였다. 이러한 컨테이너간의 계층 관계를 설정해 주면 chlidContain..

Spring/Spring MVC 2014. 3. 28. 14:26
Spring MVC 스프링 컨테이너

1 스프링컨테이너 스프링은 객체를 관리하는 컨테이너를 제공한다. 스프링은 컨테이너에 객체를 담아, 필요할때 객체를 가져와 사용할 수 있도록 하며, 이러한 컨테이너 역할을 수행하는 인터페이스로 BeanFactory와 ApplicatuinContext가 존재한다. 컨테이너와 관련된 주요 인터페이스의 관계는 다음과 같다. BeanFactory

Spring/Spring MVC 2014. 1. 1. 13:29
이전 1 다음
이전 다음
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
  • [Ext JS] Benney Blog
  • [Skill] aircook의 잡동사니
  • [Skill] Stack Overflow
  • [Skill] 생활코딩
  • [Comunity] OKKY - All That Dev…
  • [Library] Spring Release
TAG
  • tiles sitemesh
  • 스프링 autowired
  • 스프링
  • extjs 6 테마
  • local repository
  • 스프링 컨테이너
  • 시간차이구하기
  • 마이바티스 resultmp
  • 로컬저장소
  • spring container
  • extjs6
  • sencha touch icons list
  • tiles vs sitemesh
  • with grant option
  • mysql convert
  • mybatis common resultmap
  • extjs grid crud
  • sencha touch icons
  • mybatis resultmap
  • extjs 6 theme
  • extjs
  • 마이바티스 공통 resultmap
  • Spring
  • 제이보스 스프링4
  • maven 로컬저장소
  • spring autowired
  • jboss spring4
  • custom mapping
  • mysql 한글깨짐
  • with admin option
more
«   2025/05   »
일 월 화 수 목 금 토
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
글 보관함

Blog is powered by Tistory / Designed by Tistory

티스토리툴바