Interface Instantiator
-
- All Known Implementing Classes:
ConstructorInstantiator
public interface Instantiator
Provides instances of classes.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T> T
newInstance(java.lang.Class<T> cls)
Creates instance of given class
-
-
-
Method Detail
-
newInstance
<T> T newInstance(java.lang.Class<T> cls) throws InstantationException
Creates instance of given class- Throws:
InstantationException
-
-