org.axonframework.commandhandling.annotation
Class CommandMessageHandlerUtils

java.lang.Object
  extended by org.axonframework.commandhandling.annotation.CommandMessageHandlerUtils

public abstract class CommandMessageHandlerUtils
extends Object

Utility class that resolves the name of a Command accepted by a given handler.

Since:
2.0
Author:
Allard Buijze

Constructor Summary
CommandMessageHandlerUtils()
           
 
Method Summary
static String resolveAcceptedCommandName(AbstractMessageHandler handler)
          Returns the name of the Command accepted by the given handler.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommandMessageHandlerUtils

public CommandMessageHandlerUtils()
Method Detail

resolveAcceptedCommandName

public static String resolveAcceptedCommandName(AbstractMessageHandler handler)
Returns the name of the Command accepted by the given handler.

Parameters:
handler - The handler to resolve the name from
Returns:
The name of the command accepted by the handler


Copyright © 2010-2016. All Rights Reserved.