It was change in the 0.95 spec that private field and setters are not supported (due to security issues bypassing the Java protection model).
--
Jeremy

On Oct 16, 2006, at 9:32 AM, Scott Kurz wrote:

I noticed you can't use the @Reference annotation on a private field of a
Java component impl.

Both the IntrospectionRegistryImpl and HeuristicPojoProcessor classes seem
to only look at public and protected fields for annotations.

I was just wondering:  is this a Tuscany behavior (only looking at
public/protected methods and fields) or is this part of the SCA spec? I
don't see this
restriction in the SCA v0.91 C&I Java spec..though I'm not looking at every
line.

Not that this is a huge limitation: it's just that this is the first thing I tried and it didn't work and I didn't find anyting when searching the list
archive either.

Thanks,
Scott Kurz


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to