public class ObjectFactory extends Object implements ObjectFactory
| Constructor and Description |
|---|
ObjectFactory(tech.generated.common.engine.spi.summner.GeneratedEngine engine) |
| Modifier and Type | Method and Description |
|---|---|
<T> ObjectContext<T> |
buildContext(Init<T> init)
Build object of
clazz type. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbuild, buildpublic ObjectFactory(tech.generated.common.engine.spi.summner.GeneratedEngine engine)
public <T> ObjectContext<T> buildContext(Init<T> init) throws NewInstanceException
ObjectFactoryclazz type.buildContext in interface ObjectFactoryinit - context to constract.NewInstanceException - if there was error while object creating.Copyright © 2020. All rights reserved.