public interface Producer<T>
| Modifier and Type | Method and Description |
|---|---|
void |
dispose(T instance)
Its result depends on bean type.
|
Set<InjectionPoint> |
getInjectionPoints()
Its result depends on bean type.
|
T |
produce(CreationalContext<T> creationalContext)
Its result depends on bean type.
|
T produce(CreationalContext<T> creationalContext)
Inject if it
exists, or the constructor with no parameters otherwise.creationalContext - creational contextvoid dispose(T instance)
instance - dispose instanceSet<InjectionPoint> getInjectionPoints()
Copyright © 2021. All rights reserved.