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