public final class ClasspathParameterResolverFactory extends Object
ServiceLoadermechanism 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.ParameterResolverFactory. For more details, see
|Modifier and Type||Method and Description|
Creates an instance for the given
Creates an instance using the given
public static ParameterResolverFactory forClass(Class<?> clazz)
clazz. Effectively, the class loader of the given class is used to locate implementations.
clazz- The class for which the parameter resolver must be returned
public static ParameterResolverFactory forClassLoader(ClassLoader classLoader)
classLoader. Implementations are located using this class loader.
classLoader- The class loader to locate the implementations with
Copyright © 2010–2021. All rights reserved.