| Package | Description |
|---|---|
| org.glassfish.hk2.api.messaging | |
| org.glassfish.hk2.internal | |
| org.glassfish.hk2.utilities |
| Modifier and Type | Method and Description |
|---|---|
Topic<T> |
Topic.named(String name)
Returns an Topic that is further qualified
with the given name
|
<U> Topic<U> |
Topic.ofType(Type type)
Returns an Topic that is of the given type.
|
Topic<T> |
Topic.qualifiedWith(Annotation... qualifiers)
A set of qualifiers to further restrict this Topic to.
|
| Modifier and Type | Method and Description |
|---|---|
void |
TopicDistributionService.distributeMessage(Topic<?> topic,
Object message)
Must distribute the message to all of the matching topic subscribers.
|
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultTopicDistributionService.distributeMessage(Topic<?> topic,
Object message) |
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultTopicDistributionErrorService.subscribersFailed(Topic<?> topic,
Object message,
MultiException error)
This method will be called once per
publish(Object)
call after the message has been distributed to all subscribers. |
Copyright © 2009-2014 Oracle Corporation. All Rights Reserved.