Skip navigation links
A C D E G O P R S T U 

A

accepts(Object) - Method in interface org.apache.shiro.event.support.EventListener
Returns true if the listener instance can process the specified event object, false otherwise.
accepts(Object) - Method in class org.apache.shiro.event.support.SingleArgumentMethodEventListener
 
AnnotationEventListenerResolver - Class in org.apache.shiro.event.support
Inspects an object for annotated methods of interest and creates an EventListener instance for each method discovered.
AnnotationEventListenerResolver() - Constructor for class org.apache.shiro.event.support.AnnotationEventListenerResolver
 

C

compare(Class, Class) - Method in class org.apache.shiro.event.support.EventClassComparator
 
compare(EventListener, EventListener) - Method in class org.apache.shiro.event.support.EventListenerComparator
 

D

DefaultEventBus - Class in org.apache.shiro.event.support
A default event bus implementation that synchronously publishes events to registered listeners.
DefaultEventBus() - Constructor for class org.apache.shiro.event.support.DefaultEventBus
 

E

Event - Class in org.apache.shiro.event
Root class for all of Shiro's event classes.
Event(Object) - Constructor for class org.apache.shiro.event.Event
 
EventBus - Interface in org.apache.shiro.event
An event bus can publish events to event subscribers as well as provide a mechanism for registering and unregistering event subscribers.
EventBusAware - Interface in org.apache.shiro.event
Interface implemented by components that utilize an EventBus for publishing and/or subscribing to/from events and wish that EventBus to be supplied if one is available.
EventClassComparator - Class in org.apache.shiro.event.support
Compares two event classes based on their position in a class hierarchy.
EventClassComparator() - Constructor for class org.apache.shiro.event.support.EventClassComparator
 
EventListener - Interface in org.apache.shiro.event.support
An event listener knows how to accept and process events of a particular type (or types).
EventListenerComparator - Class in org.apache.shiro.event.support
Compares two event listeners to determine the order in which they should be invoked when an event is dispatched.
EventListenerComparator() - Constructor for class org.apache.shiro.event.support.EventListenerComparator
 
EventListenerResolver - Interface in org.apache.shiro.event.support
An EventListenerResolver knows how to resolve (either create or lookup) EventListener instances as a result of inspecting a subscriber object, mostly likely a Subscribe-annotated object instance.

G

getAnnotationClass() - Method in class org.apache.shiro.event.support.AnnotationEventListenerResolver
Returns the type of annotation that indicates a method that should be represented as an EventListener, defaults to Subscribe.
getEventListenerResolver() - Method in class org.apache.shiro.event.support.DefaultEventBus
 
getEventListeners(Object) - Method in class org.apache.shiro.event.support.AnnotationEventListenerResolver
Returns a new collection of EventListener instances, each instance corresponding to an annotated method discovered on the specified instance argument.
getEventListeners(Object) - Method in interface org.apache.shiro.event.support.EventListenerResolver
Returns EventListener instances as a result of inspecting a subscriber object, mostly likely with Subscribe-annotated methods.
getEventType() - Method in class org.apache.shiro.event.support.SingleArgumentMethodEventListener
 
getEventType() - Method in interface org.apache.shiro.event.support.TypedEventListener
 
getMethod() - Method in class org.apache.shiro.event.support.SingleArgumentMethodEventListener
 
getMethodArgumentType(Method) - Method in class org.apache.shiro.event.support.SingleArgumentMethodEventListener
 
getTarget() - Method in class org.apache.shiro.event.support.SingleArgumentMethodEventListener
 
getTimestamp() - Method in class org.apache.shiro.event.Event
Returns the timestamp when this event occurred as the number of milliseconds since Epoch (UTC time zone).

O

onEvent(Object) - Method in interface org.apache.shiro.event.support.EventListener
Handles the specified event.
onEvent(Object) - Method in class org.apache.shiro.event.support.SingleArgumentMethodEventListener
 
org.apache.shiro.event - package org.apache.shiro.event
 
org.apache.shiro.event.support - package org.apache.shiro.event.support
 

P

publish(Object) - Method in interface org.apache.shiro.event.EventBus
Publishes the specified event to an event subsystem that will deliver events to relevant Subscribers.
publish(Object) - Method in class org.apache.shiro.event.support.DefaultEventBus
 

R

register(Object) - Method in interface org.apache.shiro.event.EventBus
Registers all event handler methods on the specified instance to receive relevant events.
register(Object) - Method in class org.apache.shiro.event.support.DefaultEventBus
 

S

setAnnotationClass(Class<? extends Annotation>) - Method in class org.apache.shiro.event.support.AnnotationEventListenerResolver
Sets the type of annotation that indicates a method that should be represented as an EventListener.
setEventBus(EventBus) - Method in interface org.apache.shiro.event.EventBusAware
Sets the available EventBus that may be used for publishing and subscribing to/from events.
setEventListenerResolver(EventListenerResolver) - Method in class org.apache.shiro.event.support.DefaultEventBus
 
SingleArgumentMethodEventListener - Class in org.apache.shiro.event.support
A event listener that invokes a target object's method that accepts a single event argument.
SingleArgumentMethodEventListener(Object, Method) - Constructor for class org.apache.shiro.event.support.SingleArgumentMethodEventListener
 
Subscribe - Annotation Type in org.apache.shiro.event
Indicates a method is an event consumer.

T

TypedEventListener - Interface in org.apache.shiro.event.support
 

U

unregister(Object) - Method in interface org.apache.shiro.event.EventBus
Unregisters all previously-registered event handler methods on the specified instance.
unregister(Object) - Method in class org.apache.shiro.event.support.DefaultEventBus
 
A C D E G O P R S T U 
Skip navigation links

Copyright © 2004–2020 The Apache Software Foundation. All rights reserved.