T - the configurable class. Must have constructor with 1 arg being Tpublic abstract class AbstractInstanceCreatingConfiguration<T> extends Object implements InstanceCreatingConfiguration<T>
InstanceCreatingConfiguration with implementation of produceInstance
creating new instance using single-arg constructor, taking only a configuration, using reflection| Constructor and Description |
|---|
AbstractInstanceCreatingConfiguration(Class<T> clazz) |
| Modifier and Type | Method and Description |
|---|---|
T |
produceInstance()
Produces a newly instantiated instance of the configured class, defined by
T |
public T produceInstance()
InstanceCreatingConfigurationTproduceInstance in interface InstanceCreatingConfiguration<T>Copyright © 2022. All rights reserved.