@Documented
@Retention(value=RUNTIME)
@Qualifier
@Target(value={TYPE,METHOD})
public @interface MessageReceiver
Factory.provide()
methods automatically analyzed by hk2 or any user-defined
Descriptor who can receive messages| Modifier and Type | Fields and Description |
|---|---|
static java.lang.String |
EVENT_RECEIVER_TYPES |
| Modifier and Type | Optional Element and Description |
|---|---|
java.lang.Class<?>[] |
value
A list of message types that this service may receive.
|
@Metadata(value="org.glassfish.hk2.messaging.messageReceiverTypes") public abstract java.lang.Class<?>[] value