public abstract class AbstractProxySubscriber extends Object
Implementing Prioritized even when Priority is not used is always OK. The default value of 0 retains the FIFO order.
Modifier and Type | Field and Description |
---|---|
protected boolean |
veto |
Modifier | Constructor and Description |
---|---|
protected |
AbstractProxySubscriber(Object proxiedSubscriber,
Method subscriptionMethod,
ReferenceStrength referenceStrength,
org.scijava.event.bushe.EventService es,
boolean veto) |
protected |
AbstractProxySubscriber(Object proxiedSubscriber,
Method subscriptionMethod,
ReferenceStrength referenceStrength,
int priority,
org.scijava.event.bushe.EventService es,
boolean veto) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
org.scijava.event.bushe.EventService |
getEventService() |
int |
getPriority() |
Object |
getProxiedSubscriber() |
ReferenceStrength |
getReferenceStrength() |
Method |
getSubscriptionMethod() |
int |
hashCode() |
void |
proxyUnsubscribed()
Called by EventServices to inform the proxy that it is unsubscribed.
|
protected boolean |
retryReflectiveCallUsingAccessibleObject(Object[] args,
Method subscriptionMethod,
Object obj,
IllegalAccessException e,
String message) |
String |
toString() |
protected AbstractProxySubscriber(Object proxiedSubscriber, Method subscriptionMethod, ReferenceStrength referenceStrength, org.scijava.event.bushe.EventService es, boolean veto)
protected AbstractProxySubscriber(Object proxiedSubscriber, Method subscriptionMethod, ReferenceStrength referenceStrength, int priority, org.scijava.event.bushe.EventService es, boolean veto)
public Object getProxiedSubscriber()
public Method getSubscriptionMethod()
public org.scijava.event.bushe.EventService getEventService()
public ReferenceStrength getReferenceStrength()
public int getPriority()
public void proxyUnsubscribed()
Overriding classes must call super.proxyUnsubscribed() or risk things not being cleanup up properly.
protected boolean retryReflectiveCallUsingAccessibleObject(Object[] args, Method subscriptionMethod, Object obj, IllegalAccessException e, String message)
Copyright © 2009–2024 SciJava. All rights reserved.