Dynamic Weaver Design using Decorator Pattern on Fractal component Environment

Fractal 컴포넌트 환경에서 Decorator 패턴을 이용한 동적 위버 설계

  • Park Jae-Youn (Dept of Computer Engineering, Kyung-Hee University) ;
  • Kim Jin-Hyang (Dept of Computer Engineering, Kyung-Hee University) ;
  • Song Young-Jae (Dept of Computer Engineering, Kyung-Hee University)
  • 박제연 (경희대학교 컴퓨터공학과) ;
  • 김진향 (경희대학교 컴퓨터공학과) ;
  • 송영재 (경희대학교 컴퓨터공학과)
  • Published : 2005.05.01

Abstract

In order to use component for various domain, it need to add tangling code. Component reuse suffers from it. AOP was resolved this problem. We present in this paper a component model, called fractal, that added aspect interface using mixin class named joinController interface. Mixin class are used to combine controller object and interceptor object. we design the dynamic weaver that use the decorator pattern, for increase the reuse of aspect.

컴포넌트를 다양한 영역에 사용하기 위해 코드를 추가적으로 요구할 경우, 추가되는 코드가 뒤엉켜져서 컴포넌트 재사용을 방해하게 된다. AOP는 이러한 컴포넌트의 다양성 문제를 해결하기 위해 나온 방법이다. 본 논문에서는 Fractal 컴포넌트 모델에 제어 객체와 인터셉터 객체를 합성하기위해 혼합클래스(mixin class)를 사용하여 joinpoint controller interface를 생성하였으며, 이러한 인터페이스에 합성된 aspect을 적용하였다. 그리고, Aspect의 재사용성을 높이기 위하여, Decorator 디자인 패턴을 사용하여 동적으로 위빙하는 위버를 설계하였다.

Keywords