|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Retention(value=RUNTIME) @Target(value=METHOD) public @interface EventSubscriber
Optional Element Summary | |
---|---|
java.lang.Class<? extends EventService> |
autoCreateEventServiceClass
Whether or not to autocreate the event service if it doesn't exist on subscription, default is true. |
java.lang.Class |
eventClass
The class to subscribe to, if not specified, a subscription is created for the type of the method parameter. |
java.lang.String |
eventServiceName
The event service to subscribe to, default to the EventServiceLocator.SERVICE_NAME_EVENT_BUS. |
boolean |
exact
Whether or not to subcribe to the exact class or a class hierarchy, defaults to class hierarchy (false). |
ReferenceStrength |
referenceStrength
Whether to subscribe weakly or strongly. |
public abstract java.lang.Class eventClass
public abstract boolean exact
public abstract ReferenceStrength referenceStrength
public abstract java.lang.String eventServiceName
public abstract java.lang.Class<? extends EventService> autoCreateEventServiceClass
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |