> If we create instances of the class upon resolution then we'd need to
> control the lifetime of those classes. Without a context duration for
> the class that's kind of arbitrary, especially in an SE environment (I
> guess it could be the lifetime of a thread and that cache could be
> something like a thread local cache of class instances?).
I think it is very difficult to try to create a bean-container outside
of the world of bean-containers. I believe it would be better to
require some sort of bean-container to be present.
best regards,
Martin