Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AbstractClassBasedListenerObjectCreator - Class in org.rribbit.creation
-
This
ListenerObjectCreatorcreatesListenerObjects 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
ListenerObjectExecutorprovides a blueprint for the execution of aCollectionofListenerObjects 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.ExecutionResultrepresents a successful invocation, along with its result. - AbstractListenerObjectExecutor.ThrowableResult - Class in org.rribbit.execution
-
This
AbstractListenerObjectExecutor.ExecutionResultrepresents an unsuccessful invocation, where the method threw aThrowable. - AbstractListenerObjectExecutor.VoidResult - Class in org.rribbit.execution
-
This
AbstractListenerObjectExecutor.ExecutionResultrepresents 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
Classand createsListenerObjects for them if they have aListenerannotation, 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
ListenerObjectCreatorto thisDefaultListenerObjectRetriever. - addObject(Object) - Method in class org.rribbit.creation.ObjectBasedListenerObjectCreator
-
Scans all public methods of the dynamic runtime
Classof the givenObject(theClassreturned byObject.getClass()) and createsListenerObjects for them if they have aListenerannotation, then initializes thoseListenerObjects with the givenObjectas 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
RequestDispatcherto 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
Collections ofListenerObjects. - CachedListenerObjectRetriever - Class in org.rribbit.retrieval
-
This
ListenerObjectRetrieverimplements caching to be able to retrieveListenerObjects more quickly. - CachedListenerObjectRetriever() - Constructor for class org.rribbit.retrieval.CachedListenerObjectRetriever
-
Whenever you use this constructor, be sure to set the
ListenerObjectCreatorwith 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
ListenerObjectRetrievercontract. - checkReturnType(Class<?>) - Method in class org.rribbit.retrieval.CachedListenerObjectRetriever
-
Checks whether the returntype is null, in order to be able to fullfill the
ListenerObjectRetrievercontract. - 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
ListenerObjectExecutorthat will be used to executeListenerObjects. - createListenerObjectExecutor() - Method in class org.rribbit.processing.SpringHttpRequestProcessorServlet
- createListenerObjectRetriever() - Method in class org.rribbit.processing.HttpRequestProcessorServlet
-
Creates or fetches and returns a
ListenerObjectRetrieverthat will be used to retrieveListenerObjects. - 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
InputStreamthat contains a Base64 encoded String to a JavaObject. - DefaultListenerObjectRetriever - Class in org.rribbit.retrieval
-
This
ListenerObjectRetrieverprovides 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
ListenerObjectCreatorwith 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
RequestDispatcherwith 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
Objectto 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 givenCollectionand gives the return values back. - executeSingleListenerObject(ListenerObject, Object...) - Method in class org.rribbit.execution.AbstractListenerObjectExecutor
-
This method executes a single
ListenerObjectand 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
ClassLoaderassociated with thisAbstractClassBasedListenerObjectCreator. - getClassLoader() - Method in class org.rribbit.creation.AbstractClassBasedListenerObjectCreator
-
This method gets the
ClassLoaderthat 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 createsListenerObjects for them if they have aListenerannotation. - getListenerObjectCreators() - Method in class org.rribbit.retrieval.DefaultListenerObjectRetriever
-
Returns all
ListenerObjectCreators 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
ListenerObjects 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
CollectionofListenerObjects 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
CollectionofListenerObjects 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
CollectionofListenerObjects 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 thisDefaultRequestResponseBus. - getResult() - Method in class org.rribbit.execution.AbstractListenerObjectExecutor.ObjectResult
- getRetryAttempts() - Method in class org.rribbit.dispatching.RmiRequestDispatcher
-
Gets the number of times this
RmiRequestDispatcherretries 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
Objectfor the given class to be used by aListenerObjectto 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
HttpRequestDispatcherthat will send theRequests 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
ListenerObjectCreatorcreatesListenerObjects 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
RequestDispatcherdispatchesRequests via JMS. - JmsRequestDispatcher() - Constructor for class org.rribbit.dispatching.JmsRequestDispatcher
-
Whenever you use this constructor, be sure to set the
QueueAND theConnectionFactorywith the setters provided by this class. - JmsRequestDispatcher(ConnectionFactory, Queue) - Constructor for class org.rribbit.dispatching.JmsRequestDispatcher
-
Creates a new
JmsRequestDispatcherthat dispatchesMessages to the givenQueue, using the givenConnectionFactory. - JmsRequestProcessor - Class in org.rribbit.processing
-
This
RequestProcessorhandlesRequests that are sent over JMS. - JmsRequestProcessor() - Constructor for class org.rribbit.processing.JmsRequestProcessor
-
Whenever you use this constructor, be sure to set the
ListenerObjectRetrieverAND theListenerObjectExecutorwith 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
ListenerObjectRetrieverandListenerObjectExecutor.
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
ListenerObjectCreatorcreates theListenerObjects that will be used by theListenerObjectRetrieverto 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
ListenerObjectRetrieverretrieves theListenerObjects that were created by one or moreListenerObjectCreators. - listenerObjects - Variable in class org.rribbit.creation.ObjectBasedListenerObjectCreator
-
Subclasses are recommended to use this
Collectionto store theListenerObjects in. - LocalRequestDispatcher - Class in org.rribbit.dispatching
-
This
RequestDispatcherdispatches aRequeston a local machine to aLocalRequestProcessorvia a simple Java method call. - LocalRequestDispatcher() - Constructor for class org.rribbit.dispatching.LocalRequestDispatcher
-
Whenever you use this constructor, be sure to set the
LocalRequestProcessorwith 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
ListenerObjectRetrieverAND theListenerObjectExecutorwith 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
ListenerObjectRetrieverandListenerObjectExecutor.
M
- matchesHint(ListenerObject, String) - Method in class org.rribbit.retrieval.DefaultListenerObjectRetriever
-
Checks whether the
ListenerObjectmatches the hint. - matchesReturnType(ListenerObject, Class<?>) - Method in class org.rribbit.retrieval.DefaultListenerObjectRetriever
-
Checks whether the
ListenerObjectmatches 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
ListenerObjectCreationObservers that a class is scanned and its listeners created.
O
- ObjectBasedListenerObjectCreator - Class in org.rribbit.creation
-
This
ListenerObjectCreatorcreatesListenerObjects from objects. - ObjectBasedListenerObjectCreator(Object...) - Constructor for class org.rribbit.creation.ObjectBasedListenerObjectCreator
-
Initializes the
CollectionofListenerObjects 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
ListenerObjects contained in thisListenerObjectCreatorare 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
ListenerObjectCreationObserverto the list ofListenerObjectCreationObservers 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
RequestProcessoris responsible for receivingRequestobjects from aRequestDispatcherand 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
Requestthat is given back by theRequestProcessorto 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
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
RequestProcessorprocesses requests that it receives from anRmiRequestDispatcherand returns the result via RMI. - RmiRequestProcessorImpl(int) - Constructor for class org.rribbit.processing.RmiRequestProcessorImpl
-
Sets up a
Registryon the specified portnumber that does NOT use SSL. - RmiRequestProcessorImpl(int, String, String, String, String) - Constructor for class org.rribbit.processing.RmiRequestProcessorImpl
-
Sets up a
Registryon 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
Registryon the specified portnumber that uses SSL with the supplied parameters. - RmiRequestProcessorImpl(int, ListenerObjectRetriever, ListenerObjectExecutor) - Constructor for class org.rribbit.processing.RmiRequestProcessorImpl
-
Sets up a
Registryon 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
AbstractListenerObjectExecutorexecutes theListenerObjects one after the other in theThreadof 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 thisDefaultListenerObjectRetrieverand 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 thisDefaultRequestResponseBusand 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
RmiRequestDispatcherretries 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
ListenerObjectCreatorcreatesListenerObjects 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
HttpRequestProcessorServlettries to retrieve aListenerObjectRetrieverand aListenerObjectExecutorfrom 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