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