Top Description Methods
org.glassfish.hk2.api.messaging

public @Interface SubscribeTo

extends Annotation
Annotations
@Documented
@Retention:RUNTIME
@Target:PARAMETER
Static Imports
java.lang.annotation.ElementType.PARAMETER, .RetentionPolicy.RUNTIME

This 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 the MessageReceiver qualifier on it as well as use this annotation to mark the specific method to be injected into

There may be only one parameter of the method annotated with this annotation. All of the other parameters of the method are normal injection points

Author
jwells

Method Summary

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString