E
- type of created objectspublic final class NewInstanceObjectFactory<E> extends Object implements ObjectFactory<E>
Class.newInstance()
call,
i. e. with calling the default no-arg constructor of the class.Constructor and Description |
---|
NewInstanceObjectFactory(Class<E> eClass) |
public E create() throws IllegalAccessException, InstantiationException
create
in interface ObjectFactory<E>
IllegalAccessException
InstantiationException
Copyright © 2019. All rights reserved.