public class HandlerTypeResolver extends Object
Modifier and Type | Method and Description |
---|---|
static boolean |
isCommandHandler(Class<?> handlerClass)
Whether this handler has
CommandHandler annotated methods. |
static boolean |
isEventHandler(Class<?> handlerClass)
Whether this handler has
EventHandler annotated methods. |
static boolean |
isQueryHandler(Class<?> handlerClass)
Whether this handler has
QueryHandler annotated methods. |
public static boolean isCommandHandler(Class<?> handlerClass)
CommandHandler
annotated methods.handlerClass
- the class of the handlerpublic static boolean isEventHandler(Class<?> handlerClass)
EventHandler
annotated methods.handlerClass
- the class of the handlerpublic static boolean isQueryHandler(Class<?> handlerClass)
QueryHandler
annotated methods.handlerClass
- the class of the handlerCopyright © 2010–2024. All rights reserved.