public interface EventBusAware
EventBusAwareimplementation wishes to subscribe to events (i.e. it has
@Subscriber-annotated methods itself, it must register itself with the event bus, i.e.:
eventBus.register(this);Shiro's default configuration mechanisms will NOT auto-register
@Subscriber-annotated components that are also
EventBusAware: it is assumed that the
EventBusAwareimplementation, having access to an EventBus directly, knows best when to register/unregister itself.
Copyright © 2004–2019 The Apache Software Foundation. All rights reserved.