Package | Description |
---|---|
org.glassfish.hk2.api.messaging | |
org.glassfish.hk2.extras.events | |
org.glassfish.hk2.extras.events.internal | |
org.jvnet.hk2.internal |
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 |
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. |
Modifier and Type | Method and Description |
---|---|
void |
DefaultTopicDistributionService.distributeMessage(Topic<?> topic,
Object message) |
Modifier and Type | Class and Description |
---|---|
class |
TopicImpl<T> |
Modifier and Type | Method and Description |
---|---|
Topic<T> |
TopicImpl.named(String name) |
<U> Topic<U> |
TopicImpl.ofType(Type type) |
Topic<T> |
TopicImpl.qualifiedWith(Annotation... qualifiers) |
Copyright © 2009-2017, Oracle and/or its affiliates. All Rights Reserved.