@AllowConcurrentEvents @Subscribe public void handle(final CapabilityEvent.AfterRemove event) { if (isSatisfied() && type.equals(event.getReference().context().type())) { checkAllCapabilities(); } }
boolean isSatisfiedBy(final CapabilityReference reference) { return type.equals(reference.context().type()); }