JavaScript is disabled on your browser.
Type Parameters: T
-
All Implemented Interfaces:
ObjectInstantiator <T>
Direct Known Subclasses:
AccessibleInstantiator
public class ConstructorInstantiator<T>
extends Object
implements ObjectInstantiator <T>
Instantiates a class by grabbing the no args constructor and calling Constructor.newInstance().
This can deal with default public constructors, but that's about it.
Author:
Joe Walnes
See Also: ObjectInstantiator
Method Summary
Methods
Modifier and Type
Method and Description
T
newInstance ()
Returns a new instance of an object.
Methods inherited from class java.lang.Object
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
Copyright © 2006-2013 Joe Walnes, Henri Tremblay, Leonardo Mesquita. All Rights Reserved.