On Tue, Apr 2, 2013 at 7:09 AM, Lars Vogel <[email protected]> wrote:

>
> I think it would be useful if we could use an ExtendedObjectSupplier for
> this, so that the core of the DI framework stays simple and lean.
> Unfortunately AFAIK ExtendedObjectSupplier does not provide access to the
> current context.
>
> Is this by design or would it be possible to pass the current context to
> the ExtendedObjectSupplier?
>

That's fundamentally by design.  The ExtendedObjectSuppliers are expected
to reach externally to find their source/supply.

@Adapt is not so much another supplier but a modifier on the
PrimaryObjectSupplier, in much the way that Optional is, no?

PW





-- 
Paul Webster
Hi floor.  Make me a sammich! - GIR
_______________________________________________
e4-dev mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/e4-dev

Reply via email to