public class BuilderDirector extends Object
| Constructor and Description |
|---|
BuilderDirector(org.slf4j.Logger logger) |
BuilderDirector(org.slf4j.Logger logger,
Map<Class,Builder> builders) |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
createNewInstance(Class<T> type)
Create a new instance of an object of class 'type' using a Builder.
|
public <T> T createNewInstance(Class<T> type)
type - is a class whose instance should be created, it shouldn't be NULLCopyright © 2004-2013. All Rights Reserved.