|
| This Article | ||
| ||
| Share | ||
| Bibliographic References | ||
| Add to: | ||
| | ||
| Search | ||
| ||
Technology of Object-Oriented Languages and Systems
Answerer: A Design Pattern for Dynamical Conditional Execution
Santa Barbara, California
August 01-August 05
ISBN: 0-7695-0278-4
| ASCII Text | x | ||
| Mari Omori, Nobuyuki Ikeda, Jun-ichi Yamamoto, "Answerer: A Design Pattern for Dynamical Conditional Execution," Technology of Object-Oriented Languages, International Conference on, pp. 158, Technology of Object-Oriented Languages and Systems, 1999. | |||
| BibTex | x | ||
| @article{ 10.1109/TOOLS.1999.787545, author = {Mari Omori and Nobuyuki Ikeda and Jun-ichi Yamamoto}, title = {Answerer: A Design Pattern for Dynamical Conditional Execution}, journal ={Technology of Object-Oriented Languages, International Conference on}, volume = {0}, year = {1999}, isbn = {0-7695-0278-4}, pages = {158}, doi = {http://doi.ieeecomputersociety.org/10.1109/TOOLS.1999.787545}, publisher = {IEEE Computer Society}, address = {Los Alamitos, CA, USA}, } | |||
| RefWorks Procite/RefMan/Endnote | x | ||
| TY - CONF JO - Technology of Object-Oriented Languages, International Conference on TI - Answerer: A Design Pattern for Dynamical Conditional Execution SN - 0-7695-0278-4 SP EP A1 - Mari Omori, A1 - Nobuyuki Ikeda, A1 - Jun-ichi Yamamoto, PY - 1999 KW - object-oriented KW - design pattern KW - reflection architecture pattern KW - conditional execution KW - adaptable system VL - 0 JA - Technology of Object-Oriented Languages, International Conference on ER - | |||
In this paper, we propose a new design pattern named Answerer whose purpose is to eliminate the effort of recompiling a program due to changes of run-time environments. Most programs have to behave differently to accommodate with various run-time environments. As usual, the behaviors of such programs have to be specified in conditional blocks. When the run-time environment of a program changes, these blocks need to be modified and recompiled.The Answerer pattern applies a reflection technique to take care of conditional execution. The reflection is an idea to provide programs with a mechanism for changing structure and behavior dynamically. Based on this idea, the Answerer pattern provides: (1) a model of conditional execution and specification rules, (2) a mechanism to structure a model dynamically from information acquired at run-time, (3) a mechanism to create and execute a conditional operation from a model created from (2). Firstly, we found that it is necessary for structural items of (1) to implement the following information in order to implement the Answerer design pattern based on the above model and mechanisms: (a) an information about environmental factors that should be observed (b) an information about behavior that should be executed according to the factors. Secondly, we created the Answerer design pattern that implements (2) and (3).In this paper, we explain how we applied and implemented the Answerer pattern with an example of Java applet of DVD authoring tool.
Index Terms:
object-oriented, design pattern, reflection architecture pattern, conditional execution, adaptable system
Citation:
Mari Omori, Nobuyuki Ikeda, Jun-ichi Yamamoto, "Answerer: A Design Pattern for Dynamical Conditional Execution," tools, pp.158, Technology of Object-Oriented Languages and Systems, 1999
Usage of this product signifies your acceptance of the Terms of Use.
