Gurkan,
another question about resources: where should I actually inject the resources
finally?
This is the stack trace so far:
InjectionResolver.implResolveByType(Class<?>, Type[], Annotation...) line: 94
InjectableField(AbstractInjectable).inject(Class<T>, Type[], Annotation...)
line: 83
InjectableField.doInjection() line: 92
My thoughts:
Resources can be handled in a very high layer, since the 'accessors' already
hide all the underlying complexity of having classloader hierarchies etc, isn't?
So in the
AbstractInjectable#inject
I'd like to add something like:
if (isResource(annotations))
{
return injectResource(type, annotations);
}
LieGrü,
strub