@HashCodeAndEqualsPlugin.Enhance public static class Plugin.Factory.UsingReflection extends Object implements Plugin.Factory
| Modifier and Type | Class and Description | 
|---|---|
| static interface  | Plugin.Factory.UsingReflection.ArgumentResolverAllows to resolve arguments for a  Pluginconstructor. | 
| protected static interface  | Plugin.Factory.UsingReflection.InstantiatorAn instantiator is responsible for invoking a plugin constructor reflectively. | 
| static interface  | Plugin.Factory.UsingReflection.PriorityIndicates that a constructor should be treated with a given priority if several constructors can be resolved. | 
Plugin.Factory.Simple, Plugin.Factory.UsingReflection| Modifier | Constructor and Description | 
|---|---|
|   | UsingReflection(Class<? extends Plugin> type)Creates a plugin factory that uses reflection for creating a plugin. | 
| protected  | UsingReflection(Class<? extends Plugin> type,
               List<Plugin.Factory.UsingReflection.ArgumentResolver> argumentResolvers)Creates a plugin factory that uses reflection for creating a plugin. | 
| Modifier and Type | Method and Description | 
|---|---|
| Plugin | make()Returns a plugin that can be used for a transformation and which is subsequently closed. | 
| Plugin.Factory.UsingReflection | with(List<? extends Plugin.Factory.UsingReflection.ArgumentResolver> argumentResolvers)Appends the supplied argument resolvers. | 
| Plugin.Factory.UsingReflection | with(Plugin.Factory.UsingReflection.ArgumentResolver... argumentResolver)Appends the supplied argument resolvers. | 
public UsingReflection(Class<? extends Plugin> type)
type - The plugin type.protected UsingReflection(Class<? extends Plugin> type, List<Plugin.Factory.UsingReflection.ArgumentResolver> argumentResolvers)
type - The plugin type.argumentResolvers - A list of argument providers that can be used for instantiating the plugin.public Plugin.Factory.UsingReflection with(Plugin.Factory.UsingReflection.ArgumentResolver... argumentResolver)
argumentResolver - A list of argument providers that can be used for instantiating the plugin.public Plugin.Factory.UsingReflection with(List<? extends Plugin.Factory.UsingReflection.ArgumentResolver> argumentResolvers)
argumentResolvers - A list of argument providers that can be used for instantiating the plugin.public Plugin make()
make in interface Plugin.FactoryCopyright © 2014–2022. All rights reserved.