Index

A B C D E F G H I J L M N O P R S T U V 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

AbstractClassBasedListenerObjectCreator - Class in org.rribbit.creation
This ListenerObjectCreator creates ListenerObjects from classes.
AbstractClassBasedListenerObjectCreator(Class<?>...) - Constructor for class org.rribbit.creation.AbstractClassBasedListenerObjectCreator
AbstractClassBasedListenerObjectCreator(Collection<Class<?>>, boolean, String...) - Constructor for class org.rribbit.creation.AbstractClassBasedListenerObjectCreator
AbstractListenerObjectExecutor - Class in org.rribbit.execution
This ListenerObjectExecutor provides a blueprint for the execution of a Collection of ListenerObjects 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 a Throwable.
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 creates ListenerObjects for them if they have a Listener annotation, provided that AbstractClassBasedListenerObjectCreator.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
addObject(Object) - Method in class org.rribbit.creation.ObjectBasedListenerObjectCreator
Scans all public methods of the dynamic runtime Class of the given Object (the Class returned by Object.getClass()) and creates ListenerObjects for them if they have a Listener annotation, then initializes those ListenerObjects with the given Object 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
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 Collections of ListenerObjects.
CachedListenerObjectRetriever - Class in org.rribbit.retrieval
This ListenerObjectRetriever implements caching to be able to retrieve ListenerObjects 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 execute ListenerObjects.
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 retrieve ListenerObjects.
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 Java Object.
DefaultListenerObjectRetriever - Class in org.rribbit.retrieval
This ListenerObjectRetriever provides common functionality that is required by typical implementations of ListenerObjectRetriever.
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
Dispatches a Request to a RequestProcessor and returns the Response.
dispatchRequest(Request) - Method in class org.rribbit.dispatching.RmiRequestDispatcher
 
dispatchRequestAndProcessResponse(Request) - Method in class org.rribbit.DefaultRequestResponseBus
Sends the given Request to all available RequestDispatchers and aggregates the Responses.
doExecuteListeners(Collection<ListenerObject>, Object...) - Method in class org.rribbit.execution.AbstractListenerObjectExecutor
This method should call AbstractListenerObjectExecutor.executeSingleListenerObject(ListenerObject, Object...) on each ListenerObject, 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 ListenerObjects in the given Collection 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 appropriate AbstractListenerObjectExecutor.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 this AbstractClassBasedListenerObjectCreator.
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 creates ListenerObjects for them if they have a Listener annotation.
getListenerObjectCreators() - Method in class org.rribbit.retrieval.DefaultListenerObjectRetriever
Returns all ListenerObjectCreators that are used by this DefaultListenerObjectRetriever.
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 ListenerObjects from methods that have registered themselves as a Listener.
getListenerObjects() - Method in class org.rribbit.creation.ObjectBasedListenerObjectCreator
 
getListenerObjects() - Method in class org.rribbit.retrieval.DefaultListenerObjectRetriever
 
getListenerObjects() - Method in interface org.rribbit.retrieval.ListenerObjectRetriever
Returns a Collection of all ListenerObjects that are known to this 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 of ListenerObjects 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 of ListenerObjects 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 of ListenerObjects 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 RequestDispatchers that are used by this DefaultRequestResponseBus.
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 the RmiRequestProcessor.
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 a ListenerObject to execute its Method.
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
This RequestDispatcher dispatches a Request to an HttpRequestProcessorServlet via HTTP.
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 the Requests 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 creates ListenerObjects 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 dispatches Requests via JMS.
JmsRequestDispatcher() - Constructor for class org.rribbit.dispatching.JmsRequestDispatcher
Whenever you use this constructor, be sure to set the Queue AND the ConnectionFactory with the setters provided by this class.
JmsRequestDispatcher(ConnectionFactory, Queue) - Constructor for class org.rribbit.dispatching.JmsRequestDispatcher
Creates a new JmsRequestDispatcher that dispatches Messages to the given Queue, using the given ConnectionFactory.
JmsRequestProcessor - Class in org.rribbit.processing
This RequestProcessor handles Requests 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 the ListenerObjectExecutor with the setters provided by LocalRequestProcessor.
JmsRequestProcessor(ListenerObjectRetriever, ListenerObjectExecutor) - Constructor for class org.rribbit.processing.JmsRequestProcessor
This constructor is recommended, since it forces you to specify the ListenerObjectRetriever and ListenerObjectExecutor.

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 the ListenerObjects that will be used by the ListenerObjectRetriever 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 ListenerObjects 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 the ListenerObjects that were created by one or more ListenerObjectCreators.
listenerObjects - Variable in class org.rribbit.creation.ObjectBasedListenerObjectCreator
Subclasses are recommended to use this Collection to store the ListenerObjects in.
LocalRequestDispatcher - Class in org.rribbit.dispatching
This RequestDispatcher dispatches a Request on a local machine to a LocalRequestProcessor 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 the ListenerObjectExecutor 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 and ListenerObjectExecutor.

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
This Exception occurs when multiple Listeners are invoked and multiple of them throw a Throwable.
MultipleThrowablesOccurredException(Collection<Throwable>) - Constructor for exception class org.rribbit.MultipleThrowablesOccurredException
 
MultiThreadedListenerObjectExecutor - Class in org.rribbit.execution
This AbstractListenerObjectExecutor executes the ListenerObjects in parallel Threads.
MultiThreadedListenerObjectExecutor() - Constructor for class org.rribbit.execution.MultiThreadedListenerObjectExecutor
 

N

notifyObserversOnClassAdded(Class<?>) - Method in class org.rribbit.creation.ObjectBasedListenerObjectCreator
Notifies all registered ListenerObjectCreationObservers that a class is scanned and its listeners created.

O

ObjectBasedListenerObjectCreator - Class in org.rribbit.creation
This ListenerObjectCreator creates ListenerObjects from objects.
ObjectBasedListenerObjectCreator(Object...) - Constructor for class org.rribbit.creation.ObjectBasedListenerObjectCreator
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 ListenerObjects contained in this ListenerObjectCreator 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
Processes a Request and returns the Response.
processRequestViaRMI(Request) - Method in interface org.rribbit.processing.RmiRequestProcessor
Processes a Request and returns the Response.
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 of ListenerObjectCreationObservers 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
A RequestDispatcher takes care of dispatching Request objects to a RequestProcessor.
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 receiving Request objects from a RequestDispatcher 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 the RequestProcessor to the RequestDispatcher.
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
This RequestDispatcher dispatches a Request to an RmiRequestProcessor via RMI.
RmiRequestDispatcher(int, String...) - Constructor for class org.rribbit.dispatching.RmiRequestDispatcher
Connects to RmiRequestProcessors that run on the specified port and on the specified hosts.
RmiRequestDispatcher(String, int, String...) - Constructor for class org.rribbit.dispatching.RmiRequestDispatcher
Connects to RmiRequestProcessors 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 an RmiRequestDispatcher 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 Listeners 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 Listeners 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 Listeners 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 Listeners 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 Listeners 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 Listeners 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 Listeners 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 Listeners that satisfy the following requirements.
SequentialListenerObjectExecutor - Class in org.rribbit.execution
This AbstractListenerObjectExecutor executes the ListenerObjects one after the other in the Thread 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 ListenerObjectCreators from this DefaultListenerObjectRetriever 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 RequestDispatchers from this DefaultRequestResponseBus 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 the RmiRequestProcessor.
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 creates ListenerObjects 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 a ListenerObjectRetriever and a ListenerObjectExecutor from the Spring WebApplicationContext, 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
 
A B C D E F G H I J L M N O P R S T U V 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form