InstanceFactory<T>
public class ConstructorInstanceFactory<T> extends java.lang.Object implements InstanceFactory<T>
Constructor | Description |
---|---|
ConstructorInstanceFactory(java.lang.reflect.Constructor<T> constructor) |
Modifier and Type | Method | Description |
---|---|---|
InstanceHandle<T> |
createInstance() |
Factory that creates a fully injected instance.
|
public ConstructorInstanceFactory(java.lang.reflect.Constructor<T> constructor)
public InstanceHandle<T> createInstance() throws java.lang.InstantiationException
InstanceFactory
createInstance
in interface InstanceFactory<T>
java.lang.InstantiationException
Copyright © 2018. All rights reserved.