public final class DefaultObjectFactory extends ObjectFactory<Object>
| Constructor and Description |
|---|
DefaultObjectFactory() |
| Modifier and Type | Method and Description |
|---|---|
<S> S |
create(Class<S> type,
Map<FieldModel<? super S,?>,?> state)
Instantiate an object based on the provided type.
|
public <S> S create(Class<S> type, Map<FieldModel<? super S,?>,?> state) throws CreateException
ObjectFactorycreate in class ObjectFactory<Object>S - the parameter type of the sub type of the base typetype - the typestate - the stateCreateException - anything wrong that happened during instance creationCopyright © 2017 JBoss by Red Hat. All Rights Reserved.