ST
Size: a a a
ST
IG
IG
MK
MK
IG
IG
MK
IG
MK
IG
MK
IG
MK
(defrecord JettyComponent [jetty service-a-component, service-b-component …]
Component
(start [this]
(let [handler (some-bulder service-a-component
service-b-component)]
(assoc this :jetty (jetty-run handler))))
(stop [_]
(.stop jetty)))
MK
IG
IG
MK
IG