InstantiatorProvider2
.
Use Instantiator
instead.
Provides instances of classes.
@Deprecated
public interface Instantiator
Modifier and Type | Method and Description |
---|---|
<T> T |
newInstance(java.lang.Class<T> cls)
Deprecated.
Creates instance of given class
|
<T> T newInstance(java.lang.Class<T> cls) throws InstantiationException
InstantiationException