public final class ClasspathHandlerEnhancerDefinition extends Object
ServiceLoader mechanism to locate and initialize them.
 
 This means for this class to find implementations, their fully qualified class name has to be put into a file called
 META-INF/services/org.axonframework.messaging.annotation.HandlerEnhancerDefinition. For more details, see
 ServiceLoader.ServiceLoader| Modifier and Type | Method and Description | 
|---|---|
| static MultiHandlerEnhancerDefinition | forClass(Class<?> clazz)Creates an instance for the given  clazz. | 
| static MultiHandlerEnhancerDefinition | forClassLoader(ClassLoader classLoader)Creates an instance using the given  classLoader. | 
public static MultiHandlerEnhancerDefinition forClass(Class<?> clazz)
clazz. Effectively, the class loader of the given class is used to
 locate implementations.clazz - The class for which the handler definition must be returnedpublic static MultiHandlerEnhancerDefinition forClassLoader(ClassLoader classLoader)
classLoader. Implementations are located using this class loader.classLoader - The class loader to locate the implementations withCopyright © 2010–2025. All rights reserved.