Package org.glassfish.hk2.api.messaging
Annotation Type SubscribeTo
-
@Documented @Retention(RUNTIME) @Target(PARAMETER) public @interface SubscribeToThis annotation is put onto one parameter of a method to indicate that this method should be called whenever a Topic sends a message. Any class that is to receive topic messages must have theMessageReceiverqualifier on it as well as use this annotation to mark the specific method to be injected intoThere may be only one parameter of the method annotated with this annotation. All of the other parameters of the method are normal injection points