Static Class Structure
Invoker
Command
interface
to perform a request
(command.execute())
command) to
a Command object.
Command
Command1,…
Command interface
(for example,
by calling
action1() on
a Receiver1 object).
Dynamic Object Collaboration
Invoker object
delegates
performing a request to a
Command object.
Invoker is
configured
with a
Command1 object.
Invoker
object that calls execute()
on its installed Command1 object.
Command1
calls
action1()
on a Receiver1 object.