Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AbstractClassBasedListenerObjectCreator - Class in org.rribbit.creation
-
This
ListenerObjectCreator
createsListenerObject
s from classes. - AbstractClassBasedListenerObjectCreator(Class<?>...) - Constructor for class org.rribbit.creation.AbstractClassBasedListenerObjectCreator
-
Calls
AbstractClassBasedListenerObjectCreator.addClass(Class)
on each given class. - AbstractClassBasedListenerObjectCreator(Collection<Class<?>>, boolean, String...) - Constructor for class org.rribbit.creation.AbstractClassBasedListenerObjectCreator
-
Calls
AbstractClassBasedListenerObjectCreator.addPackage(String, boolean)
on each given package name. - AbstractListenerObjectExecutor - Class in org.rribbit.execution
-
This
ListenerObjectExecutor
provides a blueprint for the execution of aCollection
ofListenerObject
s and the processing of their results. - AbstractListenerObjectExecutor() - Constructor for class org.rribbit.execution.AbstractListenerObjectExecutor
- AbstractListenerObjectExecutor.ExecutionResult - Class in org.rribbit.execution
-
This class represents the outcome of the execution of a
ListenerObject
. - AbstractListenerObjectExecutor.ObjectResult - Class in org.rribbit.execution
-
This
AbstractListenerObjectExecutor.ExecutionResult
represents a successful invocation, along with its result. - AbstractListenerObjectExecutor.ThrowableResult - Class in org.rribbit.execution
-
This
AbstractListenerObjectExecutor.ExecutionResult
represents an unsuccessful invocation, where the method threw aThrowable
. - AbstractListenerObjectExecutor.VoidResult - Class in org.rribbit.execution
-
This
AbstractListenerObjectExecutor.ExecutionResult
represents a successful invocation, but no result (method return type was 'void'). - addClass(Class<?>) - Method in class org.rribbit.creation.AbstractClassBasedListenerObjectCreator
-
Scans all public methods in the given
Class
and createsListenerObject
s for them if they have aListener
annotation, provided thatAbstractClassBasedListenerObjectCreator.getTargetObjectForClass(Class)
can provide a suitable execution target. - addListenerObjectCreator(ListenerObjectCreator) - Method in class org.rribbit.retrieval.CachedListenerObjectRetriever
- addListenerObjectCreator(ListenerObjectCreator) - Method in class org.rribbit.retrieval.DefaultListenerObjectRetriever
-
Adds a
ListenerObjectCreator
to thisDefaultListenerObjectRetriever
. - addObject(Object) - Method in class org.rribbit.creation.ObjectBasedListenerObjectCreator
-
Scans all public methods of the dynamic runtime
Class
of the givenObject
(theClass
returned byObject.getClass()
) and createsListenerObject
s for them if they have aListener
annotation, then initializes thoseListenerObject
s with the givenObject
as execution target. - addPackage(String, boolean) - Method in class org.rribbit.creation.AbstractClassBasedListenerObjectCreator
-
Scans all classes in the given package and calls
AbstractClassBasedListenerObjectCreator.addClass(Class)
on each of them if they're not contained in the collection of excluded classes. - addRequestDispatcher(RequestDispatcher) - Method in class org.rribbit.DefaultRequestResponseBus
-
Adds a
RequestDispatcher
to thisDefaultRequestResponseBus
. - applicationContext - Variable in class org.rribbit.creation.SpringBeanClassBasedListenerObjectCreator
B
- Base64Util - Class in org.rribbit.util
-
This class provides utility methods for Base64 encoding.
C
- cache - Variable in class org.rribbit.retrieval.CachedListenerObjectRetriever
-
The cache of
Collection
s ofListenerObject
s. - CachedListenerObjectRetriever - Class in org.rribbit.retrieval
-
This
ListenerObjectRetriever
implements caching to be able to retrieveListenerObject
s more quickly. - CachedListenerObjectRetriever() - Constructor for class org.rribbit.retrieval.CachedListenerObjectRetriever
-
Whenever you use this constructor, be sure to set the
ListenerObjectCreator
with the setter provided by this class. - CachedListenerObjectRetriever(ListenerObjectCreator...) - Constructor for class org.rribbit.retrieval.CachedListenerObjectRetriever
-
This constructor is recommended, since it forces you to specify the
ListenerObjectCreator
. - CachedListenerObjectRetriever.RetrievalRequest - Class in org.rribbit.retrieval
-
This class represents the request made to this
CachedListenerObjectRetriever
. - checkHint(String) - Method in class org.rribbit.retrieval.CachedListenerObjectRetriever
-
Checks whether the hint is null, in order to be able to fullfill the
ListenerObjectRetriever
contract. - checkReturnType(Class<?>) - Method in class org.rribbit.retrieval.CachedListenerObjectRetriever
-
Checks whether the returntype is null, in order to be able to fullfill the
ListenerObjectRetriever
contract. - classesToBeExcluded - Variable in class org.rribbit.creation.SpringBeanClassBasedListenerObjectCreator
- classesToBeProcessed - Variable in class org.rribbit.creation.SpringBeanClassBasedListenerObjectCreator
- clearCache() - Method in class org.rribbit.retrieval.CachedListenerObjectRetriever
- createListenerObjectExecutor() - Method in class org.rribbit.processing.HttpRequestProcessorServlet
-
Creates or fetches and returns a
ListenerObjectExecutor
that will be used to executeListenerObject
s. - createListenerObjectExecutor() - Method in class org.rribbit.processing.SpringHttpRequestProcessorServlet
- createListenerObjectRetriever() - Method in class org.rribbit.processing.HttpRequestProcessorServlet
-
Creates or fetches and returns a
ListenerObjectRetriever
that will be used to retrieveListenerObject
s. - createListenerObjectRetriever() - Method in class org.rribbit.processing.SpringHttpRequestProcessorServlet
- createRequestResponseBusForLocalUse(ListenerObjectCreator, boolean) - Static method in class org.rribbit.util.RRiBbitUtil
-
Takes care of setting up the various objects needed to use RRiBbit locally.
D
- decodeInputStream(InputStream) - Static method in class org.rribbit.util.Base64Util
-
Decodes an
InputStream
that contains a Base64 encoded String to a JavaObject
. - DefaultListenerObjectRetriever - Class in org.rribbit.retrieval
-
This
ListenerObjectRetriever
provides common functionality that is required by typical implementations ofListenerObjectRetriever
. - DefaultListenerObjectRetriever() - Constructor for class org.rribbit.retrieval.DefaultListenerObjectRetriever
-
Whenever you use this constructor, be sure to set the
ListenerObjectCreator
with the setter provided by this class. - DefaultListenerObjectRetriever(ListenerObjectCreator...) - Constructor for class org.rribbit.retrieval.DefaultListenerObjectRetriever
-
This constructor is recommended, since it forces you to specify the
ListenerObjectCreator
. - DefaultRequestResponseBus - Class in org.rribbit
-
Default implementation of
RequestResponseBus
. - DefaultRequestResponseBus() - Constructor for class org.rribbit.DefaultRequestResponseBus
-
Whenever you use this constructor, be sure to set the
RequestDispatcher
with the setter provided by this class. - DefaultRequestResponseBus(RequestDispatcher...) - Constructor for class org.rribbit.DefaultRequestResponseBus
-
This constructor is recommended, since it forces you to specify a
RequestDispatcher
. - dispatchRequest(Request) - Method in class org.rribbit.dispatching.HttpRequestDispatcher
- dispatchRequest(Request) - Method in class org.rribbit.dispatching.JmsRequestDispatcher
- dispatchRequest(Request) - Method in class org.rribbit.dispatching.LocalRequestDispatcher
- dispatchRequest(Request) - Method in interface org.rribbit.dispatching.RequestDispatcher
- dispatchRequest(Request) - Method in class org.rribbit.dispatching.RmiRequestDispatcher
- dispatchRequestAndProcessResponse(Request) - Method in class org.rribbit.DefaultRequestResponseBus
- doExecuteListeners(Collection<ListenerObject>, Object...) - Method in class org.rribbit.execution.AbstractListenerObjectExecutor
-
This method should call
AbstractListenerObjectExecutor.executeSingleListenerObject(ListenerObject, Object...)
on eachListenerObject
, accumulate the results, and return. - doExecuteListeners(Collection<ListenerObject>, Object...) - Method in class org.rribbit.execution.MultiThreadedListenerObjectExecutor
- doExecuteListeners(Collection<ListenerObject>, Object...) - Method in class org.rribbit.execution.SequentialListenerObjectExecutor
- doPost(HttpServletRequest, HttpServletResponse) - Method in class org.rribbit.processing.HttpRequestProcessorServlet
E
- encodeObject(Object) - Static method in class org.rribbit.util.Base64Util
-
Encodes a Java
Object
to a Base64 encoded String. - equals(Object) - Method in class org.rribbit.retrieval.CachedListenerObjectRetriever.RetrievalRequest
- excludeClass(Class<?>) - Method in class org.rribbit.creation.AbstractClassBasedListenerObjectCreator
-
Adds 'excludedClass' to the list of classes that are excluded from scanning when package are scanned.
- excludedClasses - Variable in class org.rribbit.creation.AbstractClassBasedListenerObjectCreator
- executeListeners(Collection<ListenerObject>, Object...) - Method in class org.rribbit.execution.AbstractListenerObjectExecutor
- executeListeners(Collection<ListenerObject>, Object...) - Method in interface org.rribbit.execution.ListenerObjectExecutor
-
Executes all
ListenerObject
s in the givenCollection
and gives the return values back. - executeSingleListenerObject(ListenerObject, Object...) - Method in class org.rribbit.execution.AbstractListenerObjectExecutor
-
This method executes a single
ListenerObject
and returns the appropriateAbstractListenerObjectExecutor.ExecutionResult
. - ExecutionResult() - Constructor for class org.rribbit.execution.AbstractListenerObjectExecutor.ExecutionResult
F
- findClassesInDirectory(File, String, boolean) - Method in class org.rribbit.creation.AbstractClassBasedListenerObjectCreator
-
Method used to find all classes in a given directory.
- findClassesInZipFile(ZipFile, String, boolean) - Method in class org.rribbit.creation.AbstractClassBasedListenerObjectCreator
-
Method used to find all classes in a given zipFile.
G
- get() - Static method in class org.rribbit.RRB
-
Gets the global static
RequestResponseBus
. - getClasses(String, boolean) - Method in class org.rribbit.creation.AbstractClassBasedListenerObjectCreator
-
Scans all classes accessible in the given package, using the
ClassLoader
associated with thisAbstractClassBasedListenerObjectCreator
. - getClassLoader() - Method in class org.rribbit.creation.AbstractClassBasedListenerObjectCreator
-
This method gets the
ClassLoader
that is used to get the classes in a package. - getDesiredReturnType() - Method in class org.rribbit.Request
- getHint() - Method in class org.rribbit.Request
- getHints() - Method in class org.rribbit.ListenerObject
- getIncompleteListenerObjectsFromClass(Class<?>) - Method in class org.rribbit.creation.ObjectBasedListenerObjectCreator
-
Scans all public methods in the given
Class
, including those inherited from superclasses / superinterfaces and createsListenerObject
s for them if they have aListener
annotation. - getListenerObjectCreators() - Method in class org.rribbit.retrieval.DefaultListenerObjectRetriever
-
Returns all
ListenerObjectCreator
s that are used by thisDefaultListenerObjectRetriever
. - getListenerObjectExecutor() - Method in class org.rribbit.processing.LocalRequestProcessor
- getListenerObjectExecutor() - Method in class org.rribbit.processing.RmiRequestProcessorImpl
- getListenerObjectRetriever() - Method in class org.rribbit.processing.LocalRequestProcessor
- getListenerObjectRetriever() - Method in class org.rribbit.processing.RmiRequestProcessorImpl
- getListenerObjects() - Method in interface org.rribbit.creation.ListenerObjectCreator
-
Get
ListenerObject
s from methods that have registered themselves as aListener
. - getListenerObjects() - Method in class org.rribbit.creation.ObjectBasedListenerObjectCreator
- getListenerObjects() - Method in class org.rribbit.retrieval.DefaultListenerObjectRetriever
- getListenerObjects() - Method in interface org.rribbit.retrieval.ListenerObjectRetriever
- getListenerObjects(Class<?>) - Method in class org.rribbit.retrieval.CachedListenerObjectRetriever
- getListenerObjects(Class<?>) - Method in class org.rribbit.retrieval.DefaultListenerObjectRetriever
- getListenerObjects(Class<?>) - Method in interface org.rribbit.retrieval.ListenerObjectRetriever
-
Returns a
Collection
ofListenerObject
s that satisfy the following requirements. - getListenerObjects(Class<?>, String) - Method in class org.rribbit.retrieval.CachedListenerObjectRetriever
- getListenerObjects(Class<?>, String) - Method in class org.rribbit.retrieval.DefaultListenerObjectRetriever
- getListenerObjects(Class<?>, String) - Method in interface org.rribbit.retrieval.ListenerObjectRetriever
-
Returns a
Collection
ofListenerObject
s that satisfy the following requirements. - getListenerObjects(String) - Method in class org.rribbit.retrieval.CachedListenerObjectRetriever
- getListenerObjects(String) - Method in class org.rribbit.retrieval.DefaultListenerObjectRetriever
- getListenerObjects(String) - Method in interface org.rribbit.retrieval.ListenerObjectRetriever
-
Returns a
Collection
ofListenerObject
s that satisfy the following requirements. - getListenerObjectsFromAllCreators() - Method in class org.rribbit.retrieval.DefaultListenerObjectRetriever
- getLocalRequestProcessor() - Method in class org.rribbit.dispatching.LocalRequestDispatcher
- getMethod() - Method in class org.rribbit.ListenerObject
- getParameters() - Method in class org.rribbit.Request
- getRequestDispatchers() - Method in class org.rribbit.DefaultRequestResponseBus
-
Returns all
RequestDispatcher
s that are used by thisDefaultRequestResponseBus
. - getResult() - Method in class org.rribbit.execution.AbstractListenerObjectExecutor.ObjectResult
- getRetryAttempts() - Method in class org.rribbit.dispatching.RmiRequestDispatcher
-
Gets the number of times this
RmiRequestDispatcher
retries when it cannot connect to theRmiRequestProcessor
. - getReturnType() - Method in class org.rribbit.ListenerObject
- getReturnValues() - Method in class org.rribbit.Response
- getTarget() - Method in class org.rribbit.ListenerObject
- getTargetObjectForClass(Class<?>) - Method in class org.rribbit.creation.AbstractClassBasedListenerObjectCreator
-
Gets a target execution
Object
for the given class to be used by aListenerObject
to execute itsMethod
. - getTargetObjectForClass(Class<?>) - Method in class org.rribbit.creation.InstantiatingClassBasedListenerObjectCreator
- getTargetObjectForClass(Class<?>) - Method in class org.rribbit.creation.SpringBeanClassBasedListenerObjectCreator
- getThrowable() - Method in class org.rribbit.execution.AbstractListenerObjectExecutor.ThrowableResult
- getThrowables() - Method in exception class org.rribbit.MultipleThrowablesOccurredException
- getThrowables() - Method in class org.rribbit.Response
- getUrl() - Method in class org.rribbit.dispatching.HttpRequestDispatcher
H
- hashCode() - Method in class org.rribbit.retrieval.CachedListenerObjectRetriever.RetrievalRequest
- hint() - Element in annotation interface org.rribbit.Listener
- hosts - Variable in class org.rribbit.dispatching.RmiRequestDispatcher
- HttpRequestDispatcher - Class in org.rribbit.dispatching
- HttpRequestDispatcher() - Constructor for class org.rribbit.dispatching.HttpRequestDispatcher
-
Whenever you use this constructor, be sure to set the url with the setter provided by this class.
- HttpRequestDispatcher(String) - Constructor for class org.rribbit.dispatching.HttpRequestDispatcher
-
Creates an
HttpRequestDispatcher
that will send theRequest
s to the specified URL. - HttpRequestProcessorServlet - Class in org.rribbit.processing
-
This servlet processes requests that are dispatched by the
HttpRequestDispatcher
. - HttpRequestProcessorServlet() - Constructor for class org.rribbit.processing.HttpRequestProcessorServlet
I
- init() - Method in class org.rribbit.processing.HttpRequestProcessorServlet
-
When you override this, please make sure to call super.init().
- init() - Method in class org.rribbit.processing.SpringHttpRequestProcessorServlet
- init() - Method in class org.rribbit.retrieval.CachedListenerObjectRetriever
-
Initializes the cache of this
CachedListenerObjectRetriever
. - InstantiatingClassBasedListenerObjectCreator - Class in org.rribbit.creation
-
This
ListenerObjectCreator
createsListenerObject
s from classes. - InstantiatingClassBasedListenerObjectCreator(Class<?>...) - Constructor for class org.rribbit.creation.InstantiatingClassBasedListenerObjectCreator
- InstantiatingClassBasedListenerObjectCreator(Collection<Class<?>>, boolean, String...) - Constructor for class org.rribbit.creation.InstantiatingClassBasedListenerObjectCreator
J
- JmsRequestDispatcher - Class in org.rribbit.dispatching
-
This
RequestDispatcher
dispatchesRequest
s via JMS. - JmsRequestDispatcher() - Constructor for class org.rribbit.dispatching.JmsRequestDispatcher
-
Whenever you use this constructor, be sure to set the
Queue
AND theConnectionFactory
with the setters provided by this class. - JmsRequestDispatcher(ConnectionFactory, Queue) - Constructor for class org.rribbit.dispatching.JmsRequestDispatcher
-
Creates a new
JmsRequestDispatcher
that dispatchesMessage
s to the givenQueue
, using the givenConnectionFactory
. - JmsRequestProcessor - Class in org.rribbit.processing
-
This
RequestProcessor
handlesRequest
s that are sent over JMS. - JmsRequestProcessor() - Constructor for class org.rribbit.processing.JmsRequestProcessor
-
Whenever you use this constructor, be sure to set the
ListenerObjectRetriever
AND theListenerObjectExecutor
with the setters provided byLocalRequestProcessor
. - JmsRequestProcessor(ListenerObjectRetriever, ListenerObjectExecutor) - Constructor for class org.rribbit.processing.JmsRequestProcessor
-
This constructor is recommended, since it forces you to specify the
ListenerObjectRetriever
andListenerObjectExecutor
.
L
- Listener - Annotation Interface in org.rribbit
-
This annotation is used to declare a Listener in RRiBbit.
- ListenerObject - Class in org.rribbit
-
This class represents an executable
Listener
. - ListenerObject() - Constructor for class org.rribbit.ListenerObject
- ListenerObjectCreationObserver - Interface in org.rribbit.creation.notification
-
This interface is to be implemented by classes who want to be notified when a class is scanned and its listeners created by a
ListenerObjectCreator
. - ListenerObjectCreator - Interface in org.rribbit.creation
-
A
ListenerObjectCreator
creates theListenerObject
s that will be used by theListenerObjectRetriever
to search in. - listenerObjectCreators - Variable in class org.rribbit.retrieval.DefaultListenerObjectRetriever
- listenerObjectExecutor - Variable in class org.rribbit.processing.LocalRequestProcessor
- listenerObjectExecutor - Variable in class org.rribbit.processing.SpringHttpRequestProcessorServlet
- ListenerObjectExecutor - Interface in org.rribbit.execution
-
This interface specifies a method that can execute a set of
ListenerObject
s and return the results. - listenerObjectRetriever - Variable in class org.rribbit.processing.LocalRequestProcessor
- listenerObjectRetriever - Variable in class org.rribbit.processing.SpringHttpRequestProcessorServlet
- ListenerObjectRetriever - Interface in org.rribbit.retrieval
-
A
ListenerObjectRetriever
retrieves theListenerObject
s that were created by one or moreListenerObjectCreator
s. - listenerObjects - Variable in class org.rribbit.creation.ObjectBasedListenerObjectCreator
-
Subclasses are recommended to use this
Collection
to store theListenerObject
s in. - LocalRequestDispatcher - Class in org.rribbit.dispatching
-
This
RequestDispatcher
dispatches aRequest
on a local machine to aLocalRequestProcessor
via a simple Java method call. - LocalRequestDispatcher() - Constructor for class org.rribbit.dispatching.LocalRequestDispatcher
-
Whenever you use this constructor, be sure to set the
LocalRequestProcessor
with the setter provided by this class. - LocalRequestDispatcher(LocalRequestProcessor) - Constructor for class org.rribbit.dispatching.LocalRequestDispatcher
-
This constructor is recommended, since it forces you to specify the
LocalRequestProcessor
. - localRequestProcessor - Variable in class org.rribbit.dispatching.LocalRequestDispatcher
- LocalRequestProcessor - Class in org.rribbit.processing
-
This class processes requests on a local machine and exposes its functionality as a simple Java method call.
- LocalRequestProcessor() - Constructor for class org.rribbit.processing.LocalRequestProcessor
-
Whenever you use this constructor, be sure to set the
ListenerObjectRetriever
AND theListenerObjectExecutor
with the setters provided by this class. - LocalRequestProcessor(ListenerObjectRetriever, ListenerObjectExecutor) - Constructor for class org.rribbit.processing.LocalRequestProcessor
-
This constructor is recommended, since it forces you to specify the
ListenerObjectRetriever
andListenerObjectExecutor
.
M
- matchesHint(ListenerObject, String) - Method in class org.rribbit.retrieval.DefaultListenerObjectRetriever
-
Checks whether the
ListenerObject
matches the hint. - matchesReturnType(ListenerObject, Class<?>) - Method in class org.rribbit.retrieval.DefaultListenerObjectRetriever
-
Checks whether the
ListenerObject
matches the returntype. - MultipleThrowablesOccurredException - Exception Class in org.rribbit
- MultipleThrowablesOccurredException(Collection<Throwable>) - Constructor for exception class org.rribbit.MultipleThrowablesOccurredException
- MultiThreadedListenerObjectExecutor - Class in org.rribbit.execution
- MultiThreadedListenerObjectExecutor() - Constructor for class org.rribbit.execution.MultiThreadedListenerObjectExecutor
N
- notifyObserversOnClassAdded(Class<?>) - Method in class org.rribbit.creation.ObjectBasedListenerObjectCreator
-
Notifies all registered
ListenerObjectCreationObserver
s that a class is scanned and its listeners created.
O
- ObjectBasedListenerObjectCreator - Class in org.rribbit.creation
-
This
ListenerObjectCreator
createsListenerObject
s from objects. - ObjectBasedListenerObjectCreator(Object...) - Constructor for class org.rribbit.creation.ObjectBasedListenerObjectCreator
-
Initializes the
Collection
ofListenerObject
s and callsObjectBasedListenerObjectCreator.addObject(Object)
for each givenObject
. - ObjectResult(Object) - Constructor for class org.rribbit.execution.AbstractListenerObjectExecutor.ObjectResult
- observers - Variable in class org.rribbit.creation.ObjectBasedListenerObjectCreator
- onApplicationEvent(ContextRefreshedEvent) - Method in class org.rribbit.creation.SpringBeanClassBasedListenerObjectCreator
-
When the Spring Configuration is reloaded, all
ListenerObject
s contained in thisListenerObjectCreator
are dropped, and new ones are created from the classNames and packageNames set in this bean. - onClassAdded(Class<?>) - Method in interface org.rribbit.creation.notification.ListenerObjectCreationObserver
-
Notifies the implementor that a class is scanned and its listeners created by a
ListenerObjectCreator
. - onClassAdded(Class<?>) - Method in class org.rribbit.retrieval.CachedListenerObjectRetriever
-
Clears the cache.
- onMessage(Message) - Method in class org.rribbit.processing.JmsRequestProcessor
- org.rribbit - package org.rribbit
- org.rribbit.creation - package org.rribbit.creation
- org.rribbit.creation.notification - package org.rribbit.creation.notification
- org.rribbit.dispatching - package org.rribbit.dispatching
- org.rribbit.execution - package org.rribbit.execution
- org.rribbit.processing - package org.rribbit.processing
- org.rribbit.retrieval - package org.rribbit.retrieval
- org.rribbit.util - package org.rribbit.util
P
- packageNamesToBeProcessed - Variable in class org.rribbit.creation.SpringBeanClassBasedListenerObjectCreator
- portnumber - Variable in class org.rribbit.dispatching.RmiRequestDispatcher
- processRequest(Request) - Method in class org.rribbit.processing.LocalRequestProcessor
- processRequest(Request) - Method in interface org.rribbit.processing.RequestProcessor
- processRequestViaRMI(Request) - Method in interface org.rribbit.processing.RmiRequestProcessor
- processRequestViaRMI(Request) - Method in class org.rribbit.processing.RmiRequestProcessorImpl
R
- registerObserver(ListenerObjectCreationObserver) - Method in interface org.rribbit.creation.ListenerObjectCreator
-
Adds a
ListenerObjectCreationObserver
to the list ofListenerObjectCreationObserver
s to be notified when a class is scanned and its listeners created. - registerObserver(ListenerObjectCreationObserver) - Method in class org.rribbit.creation.ObjectBasedListenerObjectCreator
- registry - Variable in class org.rribbit.processing.RmiRequestProcessorImpl
- REGISTRY_KEY - Static variable in interface org.rribbit.processing.RmiRequestProcessor
-
The RMI Key that implementations of this interface must use to communicate with the
RmiRequestDispatcher
. - Request - Class in org.rribbit
-
This class represents a request that is made to the
RequestResponseBus
. - Request(Class<?>, String, Object[]) - Constructor for class org.rribbit.Request
- RequestDispatcher - Interface in org.rribbit.dispatching
- requestDispatchers - Variable in class org.rribbit.DefaultRequestResponseBus
- requestProcessor - Variable in class org.rribbit.processing.HttpRequestProcessorServlet
- requestProcessor - Variable in class org.rribbit.processing.RmiRequestProcessorImpl
- RequestProcessor - Interface in org.rribbit.processing
-
The
RequestProcessor
is responsible for receivingRequest
objects from aRequestDispatcher
and processing them. - RequestResponseBus - Interface in org.rribbit
-
The bus to which requests can be sent and responses received.
- Response<T> - Class in org.rribbit
-
This class represents a response to a
Request
that is given back by theRequestProcessor
to theRequestDispatcher
. - Response(Collection<T>, Collection<Throwable>) - Constructor for class org.rribbit.Response
- RetrievalRequest(String, Class<?>) - Constructor for class org.rribbit.retrieval.CachedListenerObjectRetriever.RetrievalRequest
- retryAttempts - Variable in class org.rribbit.dispatching.RmiRequestDispatcher
- RmiRequestDispatcher - Class in org.rribbit.dispatching
- RmiRequestDispatcher(int, String...) - Constructor for class org.rribbit.dispatching.RmiRequestDispatcher
-
Connects to
RmiRequestProcessor
s that run on the specified port and on the specified hosts. - RmiRequestDispatcher(String, int, String...) - Constructor for class org.rribbit.dispatching.RmiRequestDispatcher
-
Connects to
RmiRequestProcessor
s that run on the specified port and on the specified hosts. - RmiRequestProcessor - Interface in org.rribbit.processing
-
Interface required to create the
RmiRequestProcessorImpl
. - RmiRequestProcessorImpl - Class in org.rribbit.processing
-
This
RequestProcessor
processes requests that it receives from anRmiRequestDispatcher
and returns the result via RMI. - RmiRequestProcessorImpl(int) - Constructor for class org.rribbit.processing.RmiRequestProcessorImpl
-
Sets up a
Registry
on the specified portnumber that does NOT use SSL. - RmiRequestProcessorImpl(int, String, String, String, String) - Constructor for class org.rribbit.processing.RmiRequestProcessorImpl
-
Sets up a
Registry
on the specified portnumber that uses SSL with the supplied parameters. - RmiRequestProcessorImpl(int, String, String, String, String, ListenerObjectRetriever, ListenerObjectExecutor) - Constructor for class org.rribbit.processing.RmiRequestProcessorImpl
-
Sets up a
Registry
on the specified portnumber that uses SSL with the supplied parameters. - RmiRequestProcessorImpl(int, ListenerObjectRetriever, ListenerObjectExecutor) - Constructor for class org.rribbit.processing.RmiRequestProcessorImpl
-
Sets up a
Registry
on the specified portnumber that does NOT use SSL. - rrb() - Static method in class org.rribbit.RRB
-
Gets the global static
RequestResponseBus
. - RRB - Class in org.rribbit
-
RRB is a convenience class that provides static access to a global
RequestResponseBus
. - RRiBbitUtil - Class in org.rribbit.util
-
This class simplifies setting up RRiBbit for use.
S
- scanSubpackages - Variable in class org.rribbit.creation.SpringBeanClassBasedListenerObjectCreator
- send(String, Object...) - Method in class org.rribbit.DefaultRequestResponseBus
- send(String, Object...) - Method in interface org.rribbit.RequestResponseBus
-
Equivalent to
RequestResponseBus.sendForSingleWithHint(String, Object...)
, since that is probably the most widely used method, because generally, when you know the hint, you know the returntype and you don't have to pass it specifically. - sendForMultipleOfClass(Class<T>, Object...) - Method in class org.rribbit.DefaultRequestResponseBus
- sendForMultipleOfClass(Class<T>, Object...) - Method in interface org.rribbit.RequestResponseBus
-
Send a request to all
Listener
s that satisfy the following requirements. - sendForMultipleOfClassWithHint(Class<T>, String, Object...) - Method in class org.rribbit.DefaultRequestResponseBus
- sendForMultipleOfClassWithHint(Class<T>, String, Object...) - Method in interface org.rribbit.RequestResponseBus
-
Send a request to all
Listener
s that satisfy the following requirements. - sendForMultipleWithHint(String, Object...) - Method in class org.rribbit.DefaultRequestResponseBus
- sendForMultipleWithHint(String, Object...) - Method in interface org.rribbit.RequestResponseBus
-
Send a request to all
Listener
s that satisfy the following requirements. - sendForNothing(Object...) - Method in class org.rribbit.DefaultRequestResponseBus
- sendForNothing(Object...) - Method in interface org.rribbit.RequestResponseBus
-
Send a request to all
Listener
s that satisfy the following requirements. - sendForNothingWithHint(String, Object...) - Method in class org.rribbit.DefaultRequestResponseBus
- sendForNothingWithHint(String, Object...) - Method in interface org.rribbit.RequestResponseBus
-
Send a request to all
Listener
s that satisfy the following requirements. - sendForSingleOfClass(Class<T>, Object...) - Method in class org.rribbit.DefaultRequestResponseBus
- sendForSingleOfClass(Class<T>, Object...) - Method in interface org.rribbit.RequestResponseBus
-
Send a request to all
Listener
s that satisfy the following requirements. - sendForSingleOfClassWithHint(Class<T>, String, Object...) - Method in class org.rribbit.DefaultRequestResponseBus
- sendForSingleOfClassWithHint(Class<T>, String, Object...) - Method in interface org.rribbit.RequestResponseBus
-
Send a request to all
Listener
s that satisfy the following requirements. - sendForSingleWithHint(String, Object...) - Method in class org.rribbit.DefaultRequestResponseBus
- sendForSingleWithHint(String, Object...) - Method in interface org.rribbit.RequestResponseBus
-
Send a request to all
Listener
s that satisfy the following requirements. - SequentialListenerObjectExecutor - Class in org.rribbit.execution
-
This
AbstractListenerObjectExecutor
executes theListenerObject
s one after the other in theThread
of the caller. - SequentialListenerObjectExecutor() - Constructor for class org.rribbit.execution.SequentialListenerObjectExecutor
- setApplicationContext(ApplicationContext) - Method in class org.rribbit.creation.SpringBeanClassBasedListenerObjectCreator
- setClassNames(List<String>) - Method in class org.rribbit.creation.SpringBeanClassBasedListenerObjectCreator
-
Set the classNames that are to be processed by calling
AbstractClassBasedListenerObjectCreator.addClass(Class)
once the Spring Configuration is initialized. - setConnectionFactory(ConnectionFactory) - Method in class org.rribbit.dispatching.JmsRequestDispatcher
- setExcludedClasses(Collection<Class<?>>) - Method in class org.rribbit.creation.SpringBeanClassBasedListenerObjectCreator
-
Sets the classes that should be exluced when the packages set with
SpringBeanClassBasedListenerObjectCreator.setPackageNames(List)
are scanned. - setHints(List<String>) - Method in class org.rribbit.ListenerObject
- setListenerObjectCreator(ListenerObjectCreator) - Method in class org.rribbit.retrieval.CachedListenerObjectRetriever
- setListenerObjectCreator(ListenerObjectCreator) - Method in class org.rribbit.retrieval.DefaultListenerObjectRetriever
-
Removes all
ListenerObjectCreator
s from thisDefaultListenerObjectRetriever
and adds only the given one. - setListenerObjectExecutor(ListenerObjectExecutor) - Method in class org.rribbit.processing.LocalRequestProcessor
- setListenerObjectExecutor(ListenerObjectExecutor) - Method in class org.rribbit.processing.RmiRequestProcessorImpl
- setListenerObjectRetriever(ListenerObjectRetriever) - Method in class org.rribbit.processing.LocalRequestProcessor
- setListenerObjectRetriever(ListenerObjectRetriever) - Method in class org.rribbit.processing.RmiRequestProcessorImpl
- setLocalRequestProcessor(LocalRequestProcessor) - Method in class org.rribbit.dispatching.LocalRequestDispatcher
- setMethod(Method) - Method in class org.rribbit.ListenerObject
- setPackageNames(List<String>) - Method in class org.rribbit.creation.SpringBeanClassBasedListenerObjectCreator
-
Set the packageNames that are to be processed by calling
AbstractClassBasedListenerObjectCreator.addPackage(String, boolean)
once the Spring Configuration is initialized. - setQueue(Queue) - Method in class org.rribbit.dispatching.JmsRequestDispatcher
- setRequestDispatcher(RequestDispatcher) - Method in class org.rribbit.DefaultRequestResponseBus
-
Removes all
RequestDispatcher
s from thisDefaultRequestResponseBus
and adds only the given one. - setRequestResponseBus(RequestResponseBus) - Static method in class org.rribbit.RRB
-
Sets the global static
RequestResponseBus
. - setRetryAttempts(int) - Method in class org.rribbit.dispatching.RmiRequestDispatcher
-
Sets the number of times this
RmiRequestDispatcher
retries when it cannot connect to theRmiRequestProcessor
. - setReturnType(Class<?>) - Method in class org.rribbit.ListenerObject
- setScanSubpackages(boolean) - Method in class org.rribbit.creation.SpringBeanClassBasedListenerObjectCreator
-
Sets whether subpackages need to be scanned too.
- setTarget(Object) - Method in class org.rribbit.ListenerObject
- setUrl(String) - Method in class org.rribbit.dispatching.HttpRequestDispatcher
- shutdown() - Method in class org.rribbit.processing.RmiRequestProcessorImpl
-
Call this method at application shutdown to make sure that the RMI Registry gets closed properly.
- SpringBeanClassBasedListenerObjectCreator - Class in org.rribbit.creation
-
This
ListenerObjectCreator
createsListenerObject
s from classes. - SpringBeanClassBasedListenerObjectCreator() - Constructor for class org.rribbit.creation.SpringBeanClassBasedListenerObjectCreator
-
Constructors of superclass are not copied, since that would make declaring a bean of this type in the Spring configuration quite verbose.
- SpringHttpRequestProcessorServlet - Class in org.rribbit.processing
-
This implementation of
HttpRequestProcessorServlet
tries to retrieve aListenerObjectRetriever
and aListenerObjectExecutor
from the SpringWebApplicationContext
, if one is available. - SpringHttpRequestProcessorServlet() - Constructor for class org.rribbit.processing.SpringHttpRequestProcessorServlet
T
- ThrowableResult(Throwable) - Constructor for class org.rribbit.execution.AbstractListenerObjectExecutor.ThrowableResult
- toString() - Method in class org.rribbit.ListenerObject
- truststoreLocation - Variable in class org.rribbit.dispatching.RmiRequestDispatcher
U
- url - Variable in class org.rribbit.dispatching.HttpRequestDispatcher
V
- VoidResult() - Constructor for class org.rribbit.execution.AbstractListenerObjectExecutor.VoidResult
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form