A default implementation of this service is provided by HK2 and can
be added to the system with the
org.
method. The default implementation will be named "HK2TopicDistributionService"
| Modifier and Type | Field and Description |
|---|---|
| public static final String | HK2_DEFAULT_TOPIC_DISTRIBUTOR
The name of the default TopicDistributionService that is added by |
| Modifier and Type | Method and Description |
|---|---|
| public void | distributeMessage(Topic<?>
The topic to which to distribute the message. Must not be null topic, Object The message to send to the topic. Must not be null message)Must distribute the message to all of the matching topic subscribers. |
| HK2_DEFAULT_TOPIC_DISTRIBUTOR | back to summary |
|---|---|
| public static final String HK2_DEFAULT_TOPIC_DISTRIBUTOR The name of the default TopicDistributionService that is added by | |
| distributeMessage | back to summary |
|---|---|
| public void distributeMessage(Topic<?> topic, Object message) Must distribute the message to all of the matching topic subscribers. Any exception thrown from this method will be ignored. Instead error handling should be performed by the implementation of this message | |