01.11.2014 Aufrufe

Service - Sascha-alda.de

Service - Sascha-alda.de

Service - Sascha-alda.de

MEHR ANZEIGEN
WENIGER ANZEIGEN

Erfolgreiche ePaper selbst erstellen

Machen Sie aus Ihren PDF Publikationen ein blätterbares Flipbook mit unserer einzigartigen Google optimierten e-Paper Software.

Aufbau eines <strong>Service</strong><br />

<br />

<br />

Die Architektur-Elemente Subsysteme, Module, Interfaces und <strong>Service</strong> wer<strong>de</strong>n<br />

oft durch die Verwendung <strong>de</strong>s Faca<strong>de</strong> Pattern [Gamma, 1996] realisiert:<br />

Beispiel: Subsystem eines Compiler<br />

<strong>Service</strong><br />

<strong>Service</strong>: “Compiler”<br />

Method: compile<br />

Description: This is a<br />

compiler<br />

<strong>Service</strong>Description<br />

Subsystem<br />

Compiler<br />

Interface<br />

Compiler<br />

compile()<br />

InterfaceObject = <strong>Service</strong> Handle<br />

Co<strong>de</strong>Generator<br />

create()<br />

Lexer<br />

getToken()<br />

Module<br />

Parser<br />

createParseTree()<br />

Optimizer<br />

create()<br />

Prof. Dr. <strong>Sascha</strong> Alda, Hochschule Bonn-Rhein-Sieg, FB Informatik. c/o 2010<br />

Folie 13

Hurra! Ihre Datei wurde hochgeladen und ist bereit für die Veröffentlichung.

Erfolgreich gespeichert!

Leider ist etwas schief gelaufen!