Skip navigation links
A C D G M P R S V 

A

AbstractMessageProcessor<MessageT extends Message<MessageResponseT>,MessageResponseT extends MessageResponse> - Class in com.clearlydecoded.messenger
AbstractMessageProcessor abstract class implements boilerplate methods of the MessageProcessor interface such that the user of this interface does not have to bother.
AbstractMessageProcessor() - Constructor for class com.clearlydecoded.messenger.AbstractMessageProcessor
 
addProcessor(MessageProcessor<? extends Message<? extends MessageResponse>, ? extends MessageResponse>) - Method in class com.clearlydecoded.messenger.DefaultMessageProcessorRegistry
 
addProcessor(MessageProcessor<? extends Message<? extends MessageResponse>, ? extends MessageResponse>) - Method in interface com.clearlydecoded.messenger.MessageProcessorRegistry
Adds processor to the message processor registry.
addProcessors(List<? extends MessageProcessor<? extends Message<? extends MessageResponse>, ? extends MessageResponse>>) - Method in class com.clearlydecoded.messenger.DefaultMessageProcessorRegistry
 
addProcessors(List<? extends MessageProcessor<? extends Message<? extends MessageResponse>, ? extends MessageResponse>>) - Method in interface com.clearlydecoded.messenger.MessageProcessorRegistry
Adds processors to the message processor registry.

C

com.clearlydecoded.messenger - package com.clearlydecoded.messenger
 
com.clearlydecoded.messenger.discovery - package com.clearlydecoded.messenger.discovery
 
com.clearlydecoded.messenger.documentation - package com.clearlydecoded.messenger.documentation
 
com.clearlydecoded.messenger.rest - package com.clearlydecoded.messenger.rest
 

D

DefaultMessageProcessorRegistry - Class in com.clearlydecoded.messenger
DefaultMessageProcessorRegistry class is the default implementation of the MessageProcessorRegistry interface.
DefaultMessageProcessorRegistry() - Constructor for class com.clearlydecoded.messenger.DefaultMessageProcessorRegistry
 
discoverMessageProcessorsAndCreateRegistry(ApplicationContext) - Static method in class com.clearlydecoded.messenger.discovery.SpringMessageProcessorRegistryFactory
Invokes automatic discovery of message processors in the system and registers them in the message processor registry, which is what is returned to the caller of this method.
discoverProcessors() - Method in interface com.clearlydecoded.messenger.discovery.MessageProcessorDiscoverer
This method scans the system for concrete message processor implementations of MessageProcessor interface.
discoverProcessors() - Method in class com.clearlydecoded.messenger.discovery.SpringMessageProcessorDiscoverer
 

G

generateDocumentation(MessageProcessor) - Static method in class com.clearlydecoded.messenger.documentation.RestProcessorDocumentationGenerator
Generates REST friendly documentation for the provided processor.
getCompatibleMessageClassType() - Method in class com.clearlydecoded.messenger.AbstractMessageProcessor
 
getCompatibleMessageClassType() - Method in interface com.clearlydecoded.messenger.MessageProcessor
Retrieves class type of the message this processor is to able to process.
getCompatibleMessageResponseClassType() - Method in class com.clearlydecoded.messenger.AbstractMessageProcessor
 
getCompatibleMessageResponseClassType() - Method in interface com.clearlydecoded.messenger.MessageProcessor
Retrieves class type of the message response this processor is set to return.
getCompatibleMessageType() - Method in class com.clearlydecoded.messenger.AbstractMessageProcessor
 
getCompatibleMessageType() - Method in interface com.clearlydecoded.messenger.MessageProcessor
Retrieves message type identifier that this processor is able to process.
getProcessorFor(String) - Method in class com.clearlydecoded.messenger.DefaultMessageProcessorRegistry
 
getProcessorFor(String) - Method in interface com.clearlydecoded.messenger.MessageProcessorRegistry
Retrieves a concrete MessageProcessor for the type of the message.
getProcessors() - Method in class com.clearlydecoded.messenger.DefaultMessageProcessorRegistry
 
getProcessors() - Method in interface com.clearlydecoded.messenger.MessageProcessorRegistry
Retrieve all message processors successfully registered in the message processor registry.
getType() - Method in interface com.clearlydecoded.messenger.Message
Getter for string-based message type identifier.
getType() - Method in class com.clearlydecoded.messenger.rest.MessageWithJustType
 

M

Message<T extends MessageResponse> - Interface in com.clearlydecoded.messenger
Message interface represents a message the system can process.
MessageProcessor<MessageT extends Message<MessageResponseT>,MessageResponseT extends MessageResponse> - Interface in com.clearlydecoded.messenger
MessageProcessor interface defines methods which allow its implementations to do the actual work of processing a concrete type of Message implementation and produce a response that is a concrete implementation of MessageResponse.
MessageProcessorDiscoverer - Interface in com.clearlydecoded.messenger.discovery
MessageProcessorDiscoverer interface defines a method that discovers all message processors within the system (however that's done), which implement MessageProcessor interface.
MessageProcessorRegistry - Interface in com.clearlydecoded.messenger
MessageProcessorRegistry interface defines methods for adding, removing, and retrieving MessageProcessors based on the type of the Message.
MessageProcessorValidator - Class in com.clearlydecoded.messenger.discovery
MessageProcessorValidator class is a helper class that makes sure that a MessageProcessor is coded properly such that its string-based message type matches the string-based type of the Java Message class that the processor is typed with.
MessageProcessorValidator() - Constructor for class com.clearlydecoded.messenger.discovery.MessageProcessorValidator
 
MessageResponse - Interface in com.clearlydecoded.messenger
MessageResponse interface represents the response returned from processing a Message.
MessageWithJustType - Class in com.clearlydecoded.messenger.rest
MessageWithJustType class represents a message, which contains only the type property, to be used to deserialize the message string coming as the payload of the REST request.
MessageWithJustType() - Constructor for class com.clearlydecoded.messenger.rest.MessageWithJustType
 

P

process(MessageT) - Method in interface com.clearlydecoded.messenger.MessageProcessor
Executes the message, producing message response of class type which is embedded in the type of message.

R

removeProcessor(String) - Method in class com.clearlydecoded.messenger.DefaultMessageProcessorRegistry
 
removeProcessor(String) - Method in interface com.clearlydecoded.messenger.MessageProcessorRegistry
Removes message processor which is identified by the messageType from the message processor registry.
RestProcessorDocumentation - Class in com.clearlydecoded.messenger.documentation
RestProcessorDocumentation class represents REST JSON documentation for a MessageProcessor.
RestProcessorDocumentation() - Constructor for class com.clearlydecoded.messenger.documentation.RestProcessorDocumentation
 
RestProcessorDocumentationGenerator - Class in com.clearlydecoded.messenger.documentation
RestProcessorDocumentationGenerator is a utility class that produces JSON-based documentation for MessageProcessors.
RestProcessorDocumentationGenerator() - Constructor for class com.clearlydecoded.messenger.documentation.RestProcessorDocumentationGenerator
 

S

SpringMessageProcessorDiscoverer - Class in com.clearlydecoded.messenger.discovery
SpringMessageProcessorDiscoverer class is a Spring Framework implementation of the MessageProcessorDiscoverer interface.
SpringMessageProcessorDiscoverer(ApplicationContext) - Constructor for class com.clearlydecoded.messenger.discovery.SpringMessageProcessorDiscoverer
Constructor.
SpringMessageProcessorRegistryFactory - Class in com.clearlydecoded.messenger.discovery
SpringMessageProcessorRegistryFactory class creates a registry that contains automatically discovered classes that implement MessageProcessor interface.
SpringMessageProcessorRegistryFactory() - Constructor for class com.clearlydecoded.messenger.discovery.SpringMessageProcessorRegistryFactory
 
SpringRestMessenger - Class in com.clearlydecoded.messenger.rest
SpringRestMessenger class is a REST controller which wires itself to listen on '/process' URI, or a custom configured URI (through 'com.clearlydecoded.messenger.endpoint.uri' property) and invokes the auto-discovered message processors which implement the MessageProcessor interface and are injected into the Spring Context either manually or by using Spring annotations such as Service, Component, etc.
SpringRestMessenger(ApplicationContext) - Constructor for class com.clearlydecoded.messenger.rest.SpringRestMessenger
Constructor.
SpringRestMessenger(MessageProcessorRegistry) - Constructor for class com.clearlydecoded.messenger.rest.SpringRestMessenger
Constructor.

V

validateMessageProcessor(MessageProcessor<? extends Message<? extends MessageResponse>, ? extends MessageResponse>) - Static method in class com.clearlydecoded.messenger.discovery.MessageProcessorValidator
Validates that the processor is associated with a concrete Message class that is implemented with the exact same string message type identifier as the processor's type safe concrete Message implementation.
A C D G M P R S V 
Skip navigation links

Copyright © 2018. All rights reserved.