T - the target typepublic class AnnotatedHandlerInspector<T> extends Object
T that uses annotations on the target to inspect the
 capabilities of the target.| Modifier and Type | Method and Description | 
|---|---|
List<MessageHandlingMember<? super T>> | 
getHandlers()
Returns a list of detected members of the inspected entity that are capable of handling certain messages. 
 | 
<C> AnnotatedHandlerInspector<C> | 
inspect(Class<? extends C> entityType)
Inspect another handler type and register the result to the inspector registry of this inspector. 
 | 
static <T> AnnotatedHandlerInspector<T> | 
inspectType(Class<? extends T> handlerType)
Create an inspector for given  
handlerType that uses a ClasspathParameterResolverFactory to
 resolve method parameters. | 
static <T> AnnotatedHandlerInspector<T> | 
inspectType(Class<? extends T> handlerType,
           ParameterResolverFactory parameterResolverFactory)
Create an inspector for given  
handlerType that uses given parameterResolverFactory to resolve
 method parameters. | 
public static <T> AnnotatedHandlerInspector<T> inspectType(Class<? extends T> handlerType)
handlerType that uses a ClasspathParameterResolverFactory to
 resolve method parameters.T - the handler's typehandlerType - the target handler typepublic static <T> AnnotatedHandlerInspector<T> inspectType(Class<? extends T> handlerType, ParameterResolverFactory parameterResolverFactory)
handlerType that uses given parameterResolverFactory to resolve
 method parameters.T - the handler's typehandlerType - the target handler typeparameterResolverFactory - the resolver factory to use during detectionpublic <C> AnnotatedHandlerInspector<C> inspect(Class<? extends C> entityType)
C - the handler's typeentityType - the type of the handler to inspectpublic List<MessageHandlingMember<? super T>> getHandlers()
Copyright © 2010–2018. All rights reserved.