T - the type of object that will be createdpublic static interface DynamicFactory.Creator<T>
create(Object[])
method.| Modifier and Type | Method and Description |
|---|---|
T |
create(Object[] objects)
Create a new instance with the provided object parameters.
|
Class<T> |
getDeclaringClass()
Access the implementation of this class.
|
T create(Object[] objects) throws InvocationTargetException, IllegalAccessException, InstantiationException
objects - parameters for the constructor excludingInvocationTargetException - thrown if an error occurred during
constructionIllegalAccessException - if the constructor can't be
accessed (e.g. private)InstantiationException - thrown if class is abstractCopyright © 2021. All rights reserved.