ReflectionMessageHandler is a generic implementation of {@linkplain org.apache.muse.core.routing.MessageHandler MessageHandler} that can be applied to any Java method. It uses reflection to determine what types are being used by a method signature and then invokes the {@linkplain Serializer Serializers} that have been registered with Muse to do the XML/POJO transformations. If a method references a type that is not included in Muse's set of built-in Serializers, you must register a Serializer for that type in order to take advantage of this class.
Muse uses this class by default if no MessageHandler is specified for a user-defined operation. Application initialization will fail if this default is specified but no Serializer is provided for a user-defined type. You can add custom MessageHandlers to your own capabilities programmatically using the Capability.setMessageHandlers() method.
@author Dan Jemiolo (danj)
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.