| Class | Description |
|---|---|
| AccessibleInstantiator<T> |
Instantiates a class by grabbing the no-args constructor, making it accessible and then calling
Constructor.newInstance().
|
| ConstructorInstantiator<T> |
Instantiates a class by grabbing the no args constructor and calling Constructor.newInstance().
|
| FailingInstantiator<T> |
The instantiator that always throws an exception.
|
| NewInstanceInstantiator<T> |
The simplest instantiator - simply calls Class.newInstance().
|
| NullInstantiator<T> |
The instantiator that always return a null instance
|
| ObjectInputStreamInstantiator<T> |
Instantiates a class by using a dummy input stream that always feeds data for an empty object of
the same kind.
|
| ObjectStreamClassInstantiator<T> |
Instantiates a class by using reflection to make a call to private method
ObjectStreamClass.newInstance, present in many JVM implementations.
|
Copyright © 2006-2013 Joe Walnes, Henri Tremblay, Leonardo Mesquita. All Rights Reserved.