By design, Mediators are long lived actors with fixed interests (like, say Charlton Heston
.
In this case, I'd have a Command respond to the transient interest retrieving the Mediator and executing a method on it rather than having the Mediator be interested. This way, when the Command has performed this one-shot duty, it can unregister itself by calling facade.removeCommand.
-=Cliff>