| Modifier and Type | Interface and Description |
|---|---|
| public interface | Topic<
The type of event to be distributed to subscribers T>This service is used for publishing events to subscribers. |
| public interface | TopicDistributionService
This service is responsible for distributing messages to Topic subscribers
A default implementation of this service is provided by HK2 and can
be added to the system with the
|
| Modifier and Type | Annotation and Description |
|---|---|
| public @interface | MessageReceiver
This qualifier must be placed on any hk2 descriptor that can receive messages. |
| public @interface | SubscribeTo
This annotation is put onto one parameter of a method to indicate that this method should be called whenever a Topic sends a message. |