Uses of Class
org.rribbit.ListenerObject
-
Uses of ListenerObject in org.rribbit.creation
Modifier and TypeFieldDescriptionprotected Collection
<ListenerObject> ObjectBasedListenerObjectCreator.listenerObjects
Subclasses are recommended to use thisCollection
to store theListenerObject
s in.Modifier and TypeMethodDescriptionprotected Collection
<ListenerObject> ObjectBasedListenerObjectCreator.getIncompleteListenerObjectsFromClass
(Class<?> clazz) Scans all public methods in the givenClass
, including those inherited from superclasses / superinterfaces and createsListenerObject
s for them if they have aListener
annotation.ListenerObjectCreator.getListenerObjects()
GetListenerObject
s from methods that have registered themselves as aListener
.ObjectBasedListenerObjectCreator.getListenerObjects()
-
Uses of ListenerObject in org.rribbit.execution
Modifier and TypeMethodDescriptionAbstractListenerObjectExecutor.executeSingleListenerObject
(ListenerObject listenerObject, Object... parameters) This method executes a singleListenerObject
and returns the appropriateAbstractListenerObjectExecutor.ExecutionResult
.Modifier and TypeMethodDescriptionprotected abstract Collection
<AbstractListenerObjectExecutor.ExecutionResult> AbstractListenerObjectExecutor.doExecuteListeners
(Collection<ListenerObject> listenerObjects, Object... parameters) This method should callAbstractListenerObjectExecutor.executeSingleListenerObject(ListenerObject, Object...)
on eachListenerObject
, accumulate the results, and return.MultiThreadedListenerObjectExecutor.doExecuteListeners
(Collection<ListenerObject> listenerObjects, Object... parameters) SequentialListenerObjectExecutor.doExecuteListeners
(Collection<ListenerObject> listenerObjects, Object... parameters) <T> Response
<T> AbstractListenerObjectExecutor.executeListeners
(Collection<ListenerObject> listenerObjects, Object... parameters) <T> Response
<T> ListenerObjectExecutor.executeListeners
(Collection<ListenerObject> listenerObjects, Object... parameters) Executes allListenerObject
s in the givenCollection
and gives the return values back. -
Uses of ListenerObject in org.rribbit.retrieval
Modifier and TypeFieldDescriptionCachedListenerObjectRetriever.cache
The cache ofCollection
s ofListenerObject
s.Modifier and TypeMethodDescriptionCachedListenerObjectRetriever.getListenerObjects
(Class<?> returnType) CachedListenerObjectRetriever.getListenerObjects
(Class<?> returnType, String hint) CachedListenerObjectRetriever.getListenerObjects
(String hint) DefaultListenerObjectRetriever.getListenerObjects()
DefaultListenerObjectRetriever.getListenerObjects
(Class<?> returnType) DefaultListenerObjectRetriever.getListenerObjects
(Class<?> returnType, String hint) DefaultListenerObjectRetriever.getListenerObjects
(String hint) ListenerObjectRetriever.getListenerObjects()
ListenerObjectRetriever.getListenerObjects
(Class<?> returnType) Returns aCollection
ofListenerObject
s that satisfy the following requirements.ListenerObjectRetriever.getListenerObjects
(Class<?> returnType, String hint) Returns aCollection
ofListenerObject
s that satisfy the following requirements.ListenerObjectRetriever.getListenerObjects
(String hint) Returns aCollection
ofListenerObject
s that satisfy the following requirements.protected Collection
<ListenerObject> DefaultListenerObjectRetriever.getListenerObjectsFromAllCreators()
Modifier and TypeMethodDescriptionprotected boolean
DefaultListenerObjectRetriever.matchesHint
(ListenerObject listenerObject, String hint) Checks whether theListenerObject
matches the hint.protected boolean
DefaultListenerObjectRetriever.matchesReturnType
(ListenerObject listenerObject, Class<?> returnType) Checks whether theListenerObject
matches the returntype.