You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by ant elder <an...@gmail.com> on 2007/05/05 14:00:52 UTC
Callbacks are properties?
Running the simple callback sample prints out a warning about a property not
having a type. This is because HeuristicPojoProcessor handles callbacks by
making them properties, see HeuristicPojoProcessor line 160. This means we
output a warning from DefaultCompositeBuilder line 375. Which one of these
is wrong?
...ant
Re: Callbacks are properties?
Posted by Raymond Feng <en...@gmail.com>.
Hi,
I fixed it in HeuristicPojoProcessor to exclude the method/field annotated
with @Callback.
Thanks,
Raymond
----- Original Message -----
From: "Jean-Sebastien Delfino" <js...@apache.org>
To: <tu...@ws.apache.org>
Sent: Sunday, May 06, 2007 9:41 AM
Subject: Re: Callbacks are properties?
> ant elder wrote:
>> Running the simple callback sample prints out a warning about a property
>> not
>> having a type. This is because HeuristicPojoProcessor handles callbacks
>> by
>> making them properties, see HeuristicPojoProcessor line 160. This means
>> we
>> output a warning from DefaultCompositeBuilder line 375. Which one of
>> these
>> is wrong?
>>
>> ...ant
>>
>
> Fields annotated with @Callbacks are not SCA properties that you can
> configure in an SCA assembly. That's probably a bug in
> HeuristicPojoProcessor.
>
> --
> Jean-Sebastien
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: tuscany-dev-help@ws.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org
Re: Callbacks are properties?
Posted by Jean-Sebastien Delfino <js...@apache.org>.
ant elder wrote:
> Running the simple callback sample prints out a warning about a
> property not
> having a type. This is because HeuristicPojoProcessor handles
> callbacks by
> making them properties, see HeuristicPojoProcessor line 160. This
> means we
> output a warning from DefaultCompositeBuilder line 375. Which one of
> these
> is wrong?
>
> ...ant
>
Fields annotated with @Callbacks are not SCA properties that you can
configure in an SCA assembly. That's probably a bug in
HeuristicPojoProcessor.
--
Jean-Sebastien
---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org