public interface MessageHandlerFactory extends Contexed, Tagged
EmailTransitionProvider
to handle Messages that come from different locations.
so it is classes that implement this interface that need to be configured in the java properties.Modifier and Type | Method and Description |
---|---|
MessageHandler |
getHandler(java.util.LinkedList<java.lang.String> id,
SessionService<?> user)
Locate a
MessageHandler by id number
This method also does access control. |
getContext
MessageHandler getHandler(java.util.LinkedList<java.lang.String> id, SessionService<?> user)
MessageHandler
by id number
This method also does access control.
If the user only has read permission
a simple MessageHandler should be returned.
If the user has edit permission a MessageComposer should be returned.
Otherwise this method returns null.
The path may contain additional path elements after the MessageHandler
is
identified.id
- path identifier for MessageComposers from this Factoryuser
- AppUSer making request