public class ReflectionFactoryInstantiator extends Object implements Instantiator
| Constructor and Description |
|---|
ReflectionFactoryInstantiator() |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
instantiate(Class<T> clazz)
Create a new instance of a class
|
boolean |
isAvailable()
Used for checking if this particular instantiation method is available in the environment
|
public boolean isAvailable()
InstantiatorisAvailable in interface Instantiatorpublic <T> T instantiate(Class<T> clazz)
Instantiatorinstantiate in interface InstantiatorT - The type of the classclazz - The classCopyright © 2015. All Rights Reserved.