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