CommandSubscriber

Part of the Publishing SPI . A component to receive Command s (with publishing enabled) that just completed.

API

CommandSubscriber.java
interface CommandSubscriber {
  void onCompleted(Command command)     (1)
}
1 onCompleted(Command)

Notifies that the command has completed.

Members

onCompleted(Command)

Notifies that the command has completed.

This is an opportunity for implementations to process the command, for example to persist a representation of it.

Implementation

This is an SPI, but the framework provides a simple implementation, o.a.i.applib.services.publishing.log.CommandLogger, that just logs events as they are received.