SyntheticBeanBuilder.
CDI container will create an instance of the creation function every time when it needs
to obtain 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 T | Returns: an instance of the bean, may only benull if the synthetic bean is @Dependentan lookup, Parameters Instance that can be used to lookup other beans, never nullthe parameter map, never params)nullCreates an instance of the synthetic bean. |
| create | back to summary |
|---|---|
| public T create(Instance<Object> lookup, Parameters params) Creates an instance of the synthetic bean.
May only return
The
If the synthetic bean is
The parameter map contains the same values that were passed to the
| |