SyntheticBeanBuilder.
CDI container will create an instance of the destruction function every time when it needs
to destroy an instance of the synthetic bean. Implementations must be public
classes with a public zero-parameter constructor; they must not be beans.
| Modifier and Type | Method and Description |
|---|---|
| public void | dispose(T
the synthetic bean instance, never instance, Instance<Object> nullan lookup, Parameters Instance that can be used to lookup other beans, never nullthe parameter map, never params)nullDestroys an instance of the synthetic bean. |
| dispose | back to summary |
|---|---|
| public void dispose(T instance, Instance<Object> lookup, Parameters params) Destroys an instance of the synthetic bean.
The
Trying to look up
The parameter map contains the same values that were passed to the
| |