A B C D E F G H I L M N O P R S T U V W 

A

AbstractHandlerInvocation - Class in org.mbassy.dispatch
Todo: Add javadoc
AbstractHandlerInvocation(MessagingContext) - Constructor for class org.mbassy.dispatch.AbstractHandlerInvocation
 
AbstractMessageBus<T,P extends IMessageBus.IPostCommand> - Class in org.mbassy
The base class for all message bus implementations.
AbstractMessageBus(BusConfiguration) - Constructor for class org.mbassy.AbstractMessageBus
 
accepts(Object, MessageHandlerMetadata) - Method in class org.mbassy.listener.Filters.AllowAll
 
accepts(Object, MessageHandlerMetadata) - Method in class org.mbassy.listener.Filters.RejectAll
 
accepts(Object, MessageHandlerMetadata) - Method in class org.mbassy.listener.Filters.RejectSubtypes
 
accepts(Object, MessageHandlerMetadata) - Method in interface org.mbassy.listener.IMessageFilter
Evaluate the message to ensure that it matches the handler configuration
acceptsSubtypes() - Method in class org.mbassy.listener.MessageHandlerMetadata
 
add(T) - Method in class org.mbassy.common.ConcurrentSet
 
add(Subscription) - Method in class org.mbassy.MessagePublication
 
addAll(Iterable<T>) - Method in class org.mbassy.common.ConcurrentSet
 
addAsynchronousDeliveryRequest(MessagePublication<T>) - Method in class org.mbassy.AbstractMessageBus
 
addAsynchronousDeliveryRequest(MessagePublication<T>, long, TimeUnit) - Method in class org.mbassy.AbstractMessageBus
 
addErrorHandler(IPublicationErrorHandler) - Method in class org.mbassy.AbstractMessageBus
 
addErrorHandler(IPublicationErrorHandler) - Method in interface org.mbassy.IMessageBus
Publication errors may occur at various points of time during message delivery.
apply(T) - Method in interface org.mbassy.common.IPredicate
 
AsynchronousHandlerInvocation - Class in org.mbassy.dispatch
This invocation will schedule the wrapped (decorated) invocation to be executed asynchronously
AsynchronousHandlerInvocation(IHandlerInvocation) - Constructor for class org.mbassy.dispatch.AsynchronousHandlerInvocation
 
asynchronously() - Method in interface org.mbassy.IMessageBus.IPostCommand
Execute the message publication asynchronously.
asynchronously(long, TimeUnit) - Method in interface org.mbassy.IMessageBus.IPostCommand
Execute the message publication asynchronously.
asynchronously() - Method in class org.mbassy.SyncAsyncPostCommand
 
asynchronously(long, TimeUnit) - Method in class org.mbassy.SyncAsyncPostCommand
 

B

buildDispatcher(MessagingContext, IHandlerInvocation) - Method in class org.mbassy.subscription.SubscriptionFactory
 
buildInvocationForHandler(MessagingContext) - Method in class org.mbassy.subscription.SubscriptionFactory
 
BusConfiguration - Class in org.mbassy
The bus configuration holds various parameters that can be used to customize the bus' runtime behaviour.
BusConfiguration() - Constructor for class org.mbassy.BusConfiguration
 

C

ConcurrentSet<T> - Class in org.mbassy.common
This data structure is optimized for non-blocking reads even when write operations occur.
ConcurrentSet() - Constructor for class org.mbassy.common.ConcurrentSet
 
ConcurrentSet.Entry<T> - Class in org.mbassy.common
 
contains(T) - Method in class org.mbassy.common.ConcurrentSet
 
containsOverridingMethod(List<Method>, Method) - Static method in class org.mbassy.common.ReflectionUtils
 
Create(Collection<Subscription>, T) - Static method in class org.mbassy.MessagePublication
 
createSubscription(MessagingContext) - Method in class org.mbassy.subscription.SubscriptionFactory
 

D

Default() - Static method in class org.mbassy.BusConfiguration
 
dispatch(Object, ConcurrentSet) - Method in class org.mbassy.dispatch.EnvelopedMessageDispatcher
 
dispatch(Object, ConcurrentSet) - Method in class org.mbassy.dispatch.FilteredMessageDispatcher
 
dispatch(Object, ConcurrentSet) - Method in interface org.mbassy.dispatch.IMessageDispatcher
Delivers the given message to the given set of listeners.
dispatch(Object, ConcurrentSet) - Method in class org.mbassy.dispatch.MessageDispatcher
 

E

Enveloped - Annotation Type in org.mbassy.listener
Configure a handler to receive an enveloped message as a wrapper around the source message.
EnvelopedMessageDispatcher - Class in org.mbassy.dispatch
Todo: Add javadoc
EnvelopedMessageDispatcher(IMessageDispatcher) - Constructor for class org.mbassy.dispatch.EnvelopedMessageDispatcher
 
execute() - Method in class org.mbassy.MessagePublication
 

F

Filter - Annotation Type in org.mbassy.listener
THe filter annotation is used to add filters to message listeners.
FilteredMessageDispatcher - Class in org.mbassy.dispatch
A dispatcher that implements message filtering based on the filter configuration of the associated message handler.
FilteredMessageDispatcher(IMessageDispatcher) - Constructor for class org.mbassy.dispatch.FilteredMessageDispatcher
 
Filters - Class in org.mbassy.listener
Todo: Add javadoc
Filters() - Constructor for class org.mbassy.listener.Filters
 
Filters.AllowAll - Class in org.mbassy.listener
 
Filters.AllowAll() - Constructor for class org.mbassy.listener.Filters.AllowAll
 
Filters.RejectAll - Class in org.mbassy.listener
 
Filters.RejectAll() - Constructor for class org.mbassy.listener.Filters.RejectAll
 
Filters.RejectSubtypes - Class in org.mbassy.listener
 
Filters.RejectSubtypes() - Constructor for class org.mbassy.listener.Filters.RejectSubtypes
 
finalize() - Method in class org.mbassy.AbstractMessageBus
 
ForMessage(Class<?>) - Static method in class org.mbassy.listener.MessageListenerMetadata
 

G

getCause() - Method in class org.mbassy.PublicationError
 
getContext() - Method in class org.mbassy.dispatch.AbstractHandlerInvocation
 
getContext() - Method in class org.mbassy.dispatch.AsynchronousHandlerInvocation
 
getContext() - Method in class org.mbassy.dispatch.EnvelopedMessageDispatcher
 
getContext() - Method in class org.mbassy.dispatch.FilteredMessageDispatcher
 
getContext() - Method in interface org.mbassy.dispatch.IHandlerInvocation
Get the messaging context associated with this invocation
getContext() - Method in interface org.mbassy.dispatch.IMessageDispatcher
Get the messaging context associated with this dispatcher
getContext() - Method in class org.mbassy.dispatch.MessageDispatcher
 
getContext() - Method in class org.mbassy.subscription.Subscription
 
getExecutor() - Method in class org.mbassy.AbstractMessageBus
 
getExecutor() - Method in class org.mbassy.BusConfiguration
 
getExecutor() - Method in interface org.mbassy.IMessageBus
Get the executor service that is used to asynchronous message publication.
getFilter() - Method in class org.mbassy.listener.MessageHandlerMetadata
 
getHandledMessages() - Method in class org.mbassy.listener.MessageHandlerMetadata
 
getHandler() - Method in class org.mbassy.listener.MessageHandlerMetadata
 
getHandlerMetadata() - Method in class org.mbassy.dispatch.MessagingContext
Get the meta data that specifies the characteristics of the message handler that is associated with this context
getHandlerMetadata(Method) - Method in class org.mbassy.listener.MetadataReader
 
getHandlers(IPredicate<MessageHandlerMetadata>) - Method in class org.mbassy.listener.MessageListenerMetadata
 
getInvocation() - Method in class org.mbassy.dispatch.EnvelopedMessageDispatcher
 
getInvocation() - Method in class org.mbassy.dispatch.FilteredMessageDispatcher
 
getInvocation() - Method in interface org.mbassy.dispatch.IMessageDispatcher
Get the handler invocation that will be used to deliver the message to each listener
getInvocation() - Method in class org.mbassy.dispatch.MessageDispatcher
 
getListener() - Method in class org.mbassy.PublicationError
 
getListeningObject() - Method in class org.mbassy.PublicationError
 
getListerDefinition() - Method in class org.mbassy.listener.MessageListenerMetadata
 
getMaximumNumberOfPendingMessages() - Method in class org.mbassy.BusConfiguration
 
getMessage() - Method in class org.mbassy.PublicationError
 
getMessage() - Method in class org.mbassy.subscription.MessageEnvelope
 
getMessageHandlers(Class<?>) - Method in class org.mbassy.listener.MetadataReader
 
getMessageListener(Class<T>) - Method in class org.mbassy.listener.MetadataReader
 
getMetadataReader() - Method in class org.mbassy.BusConfiguration
 
getMethods(IPredicate<Method>, Class<?>) - Static method in class org.mbassy.common.ReflectionUtils
 
getNumberOfMessageDispatchers() - Method in class org.mbassy.BusConfiguration
 
getOverridingMethod(Method, Class) - Static method in class org.mbassy.common.ReflectionUtils
 
getOwningBus() - Method in class org.mbassy.dispatch.MessagingContext
Get a reference to the message bus this context belongs to
getPriority() - Method in class org.mbassy.listener.MessageHandlerMetadata
 
getPriority() - Method in class org.mbassy.subscription.Subscription
 
getPublishedObject() - Method in class org.mbassy.PublicationError
 
getRegisteredErrorHandlers() - Method in class org.mbassy.AbstractMessageBus
 
getRegisteredErrorHandlers() - Method in interface org.mbassy.IMessageBus
Returns an immutable collection containing all the registered error handlers
getSubscriptionFactory() - Method in class org.mbassy.BusConfiguration
 
getSubscriptionsByMessageType(Class) - Method in class org.mbassy.AbstractMessageBus
 
getSuperclasses(Class) - Static method in class org.mbassy.common.ReflectionUtils
 
getValue() - Method in class org.mbassy.common.ConcurrentSet.Entry
 

H

handleError(PublicationError) - Method in class org.mbassy.IPublicationErrorHandler.ConsoleLogger
 
handleError(PublicationError) - Method in interface org.mbassy.IPublicationErrorHandler
Handle the given publication error.
handlePublicationError(PublicationError) - Method in class org.mbassy.AbstractMessageBus
 
handlePublicationError(PublicationError) - Method in class org.mbassy.dispatch.AbstractHandlerInvocation
 
handles(Class<?>) - Method in class org.mbassy.listener.MessageListenerMetadata
 
handlesMessage(Class<?>) - Method in class org.mbassy.listener.MessageHandlerMetadata
 
handlesMessageType(Class<?>) - Method in class org.mbassy.subscription.Subscription
 
hasPendingMessages() - Method in class org.mbassy.AbstractMessageBus
 
hasPendingMessages() - Method in interface org.mbassy.IMessageBus
Check whether any asynchronous message publications are pending for being processed

I

IHandlerInvocation - Interface in org.mbassy.dispatch
A handler invocation encapsulates the logic that is used to invoke a single message handler to process a given message.
IMessageBus<T,P extends IMessageBus.IPostCommand> - Interface in org.mbassy
A message bus offers facilities for publishing messages to registered listeners.
IMessageBus.IPostCommand<T> - Interface in org.mbassy
A post command is used as an intermediate object created by a call to the message bus' post method.
IMessageDispatcher - Interface in org.mbassy.dispatch
A message dispatcher provides the functionality to deliver a single message to a set of listeners.
IMessageFilter - Interface in org.mbassy.listener
Message filters can be used to prevent certain messages to be delivered to a specific listener.
invoke(Method, Object, Object) - Method in class org.mbassy.dispatch.AsynchronousHandlerInvocation
 
invoke(Method, Object, Object) - Method in interface org.mbassy.dispatch.IHandlerInvocation
Invoke the message delivery logic of this handler invocation
invoke(Method, Object, Object) - Method in class org.mbassy.dispatch.ReflectiveHandlerInvocation
 
invokeHandler(Object, Object, Method) - Method in class org.mbassy.dispatch.AbstractHandlerInvocation
 
IPredicate<T> - Interface in org.mbassy.common
Created with IntelliJ IDEA.
IPublicationErrorHandler - Interface in org.mbassy
Publication error handlers are provided with a publication error every time an error occurs during message publication.
IPublicationErrorHandler.ConsoleLogger - Class in org.mbassy
 
IPublicationErrorHandler.ConsoleLogger() - Constructor for class org.mbassy.IPublicationErrorHandler.ConsoleLogger
 
isAsynchronous() - Method in class org.mbassy.listener.MessageHandlerMetadata
 
isEnveloped() - Method in class org.mbassy.listener.MessageHandlerMetadata
 
isFiltered() - Method in class org.mbassy.listener.MessageHandlerMetadata
 
isFinished() - Method in class org.mbassy.MessagePublication
 
isRunning() - Method in class org.mbassy.MessagePublication
 
isScheduled() - Method in class org.mbassy.MessagePublication
 
iterator() - Method in class org.mbassy.common.ConcurrentSet
 

L

Listener - Annotation Type in org.mbassy.listener
Mark any method of any object as a message handler and configure the handler using different properties.
listeners - Variable in class org.mbassy.subscription.Subscription
 

M

markScheduled() - Method in class org.mbassy.MessagePublication
 
MBassador<T> - Class in org.mbassy
 
MBassador(BusConfiguration) - Constructor for class org.mbassy.MBassador
 
MessageDispatcher - Class in org.mbassy.dispatch
Standard implementation for direct, unfiltered message delivery.
MessageDispatcher(MessagingContext, IHandlerInvocation) - Constructor for class org.mbassy.dispatch.MessageDispatcher
 
MessageEnvelope - Class in org.mbassy.subscription
A message envelope is used to wrap messages of arbitrary type such that a handler my receive messages of different types.
MessageEnvelope(Object) - Constructor for class org.mbassy.subscription.MessageEnvelope
 
MessageHandlerMetadata - Class in org.mbassy.listener
 
MessageHandlerMetadata(Method, IMessageFilter[], Listener) - Constructor for class org.mbassy.listener.MessageHandlerMetadata
 
MessageListenerMetadata<T> - Class in org.mbassy.listener
Provides information about the message listeners of a specific class.
MessageListenerMetadata(List<MessageHandlerMetadata>, Class<T>) - Constructor for class org.mbassy.listener.MessageListenerMetadata
 
MessagePublication<T> - Class in org.mbassy
A message publication is created for each asynchronous message dispatch.
MessagingContext - Class in org.mbassy.dispatch
The messaging context holds all data/objects that is relevant to successfully publish a message within a subscription.
MessagingContext(IMessageBus, MessageHandlerMetadata) - Constructor for class org.mbassy.dispatch.MessagingContext
 
MetadataReader - Class in org.mbassy.listener
The meta data reader is responsible for parsing and validating message handler configurations.
MetadataReader() - Constructor for class org.mbassy.listener.MetadataReader
 
Mode - Enum in org.mbassy.listener
Created with IntelliJ IDEA.

N

next() - Method in class org.mbassy.common.ConcurrentSet.Entry
 
now() - Method in interface org.mbassy.IMessageBus.IPostCommand
Execute the message publication immediately.
now() - Method in class org.mbassy.SyncAsyncPostCommand
 

O

org.mbassy - package org.mbassy
 
org.mbassy.common - package org.mbassy.common
 
org.mbassy.dispatch - package org.mbassy.dispatch
 
org.mbassy.listener - package org.mbassy.listener
 
org.mbassy.subscription - package org.mbassy.subscription
 

P

post(T) - Method in interface org.mbassy.IMessageBus
 
post(T) - Method in class org.mbassy.MBassador
 
PublicationError - Class in org.mbassy
Publication errors are created when object publication fails for some reason and contain details as to the cause and location where they occured.
PublicationError(Throwable, String, Method, Object, Object) - Constructor for class org.mbassy.PublicationError
 
PublicationError() - Constructor for class org.mbassy.PublicationError
 
publish(T) - Method in class org.mbassy.MBassador
Synchronously publish a message to all registered listeners (this includes listeners defined for super types) The call blocks until every messageHandler has processed the message.
publish(Object) - Method in class org.mbassy.subscription.Subscription
 
publishAsync(T) - Method in class org.mbassy.MBassador
 
publishAsync(T, long, TimeUnit) - Method in class org.mbassy.MBassador
 

R

ReflectionUtils - Class in org.mbassy.common
 
ReflectionUtils() - Constructor for class org.mbassy.common.ReflectionUtils
 
ReflectiveHandlerInvocation - Class in org.mbassy.dispatch
Uses reflection to invoke a message handler for a given message.
ReflectiveHandlerInvocation(MessagingContext) - Constructor for class org.mbassy.dispatch.ReflectiveHandlerInvocation
 
remove() - Method in class org.mbassy.common.ConcurrentSet.Entry
 
remove(T) - Method in class org.mbassy.common.ConcurrentSet
 

S

setCause(Throwable) - Method in class org.mbassy.PublicationError
 
setError() - Method in class org.mbassy.MessagePublication
 
setExecutor(ExecutorService) - Method in class org.mbassy.BusConfiguration
 
setListener(Method) - Method in class org.mbassy.PublicationError
 
setListeningObject(Object) - Method in class org.mbassy.PublicationError
 
setMaximumNumberOfPendingMessages(int) - Method in class org.mbassy.BusConfiguration
 
setMessage(String) - Method in class org.mbassy.PublicationError
 
setMetadataReader(MetadataReader) - Method in class org.mbassy.BusConfiguration
 
setNumberOfMessageDispatchers(int) - Method in class org.mbassy.BusConfiguration
 
setPublishedObject(Object) - Method in class org.mbassy.PublicationError
 
setSubscriptionFactory(SubscriptionFactory) - Method in class org.mbassy.BusConfiguration
 
size() - Method in class org.mbassy.common.ConcurrentSet
 
size() - Method in class org.mbassy.subscription.Subscription
 
subscribe(Object) - Method in class org.mbassy.AbstractMessageBus
 
subscribe(Object) - Method in interface org.mbassy.IMessageBus
Subscribe all listeners of the given message to receive message publications.
subscribe(Object) - Method in class org.mbassy.subscription.Subscription
 
Subscription - Class in org.mbassy.subscription
A subscription is a thread safe container for objects that contain message handlers
Subscription(MessagingContext, IMessageDispatcher) - Constructor for class org.mbassy.subscription.Subscription
 
SubscriptionByPriorityDesc - Static variable in class org.mbassy.subscription.Subscription
 
SubscriptionFactory - Class in org.mbassy.subscription
Created with IntelliJ IDEA.
SubscriptionFactory() - Constructor for class org.mbassy.subscription.SubscriptionFactory
 
SyncAsyncPostCommand<T> - Class in org.mbassy
This post command provides access to standard synchronous and asynchronous dispatch
SyncAsyncPostCommand(MBassador<T>, T) - Constructor for class org.mbassy.SyncAsyncPostCommand
 

T

toString() - Method in class org.mbassy.PublicationError
 

U

unsubscribe(Object) - Method in class org.mbassy.AbstractMessageBus
 
unsubscribe(Object) - Method in interface org.mbassy.IMessageBus
Immediately remove all registered message handlers (if any) of the given listener.
unsubscribe(Object) - Method in class org.mbassy.subscription.Subscription
 

V

valueOf(String) - Static method in enum org.mbassy.listener.Mode
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.mbassy.listener.Mode
Returns an array containing the constants of this enum type, in the order they are declared.

W

withoutOverridenSuperclassMethods(List<Method>) - Static method in class org.mbassy.common.ReflectionUtils
 
A B C D E F G H I L M N O P R S T U V W 

Copyright © 2012. All Rights Reserved.