Interface ObjectFactory
public interface ObjectFactory
Allows to create an instance from a classname and a set of properties.
The implementation handles the coercing if needed.
Note that it doesn't reuse the configuration format (for now) since it is intended
to be used to convert some configuration (UI) properties to an instance.
-
Nested Class Summary
-
Method Summary
-
Method Details
-
createInstance
Creates an instance builder.- Parameters:
className
- the class of the instance to create.- Returns:
- a builder you can configure before instantiating the instance.
-