tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Costin Manolache" <cos...@gmail.com>
Subject Re: InstanceManager javadoc
Date Sun, 29 Jun 2008 16:43:11 GMT
Also, is there any documentation (or anyone who can explain)
DefaultInstanceManager.processAnnotations() ?

Sorry, I'm a bit confused, lots of calls and structures.

I'm interested in particular in the 'injectionMap' - from what I read, the
method takes the name of the
field ( say 'foo' ), and even if it has no annotations it'll still inject it
if something named 'foo' is found.
The injectionMap would have something like "foo"->"jndiNameForFoo".

This seems pretty dangerous - my understanding was that you need to have an
annotation in order to
have the Resource injected.

I'll try searching the mail archives - the comments in the submits don't
seem to have more info than the javadocs or
comments... Again, sorry if it's something obvious.

Costin


On Sat, Jun 28, 2008 at 10:26 AM, Costin Manolache <costin@gmail.com> wrote:

> Hi,
>
> Just one small 'feature' request:
>
> Since InstanceManager in tomcat6 is in such a package ( org.apache - do we
> even have permission to use this ??),
> could we have some javadocs ?
>
> What are the current plans for the annotation processing / dep injection ?
> Is this class the 'root' of all future
> annotation processing ?
>
> Costin
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message