You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by Ignacio Silva-Lepe <is...@verizon.net> on 2006/05/11 19:36:43 UTC
@Service with an interface list
Sorry if this is a FAQ, but is something like @Service(interfaces={Int1.class,Int2.class}) supported in the current code? I tried to add one more interface to AccountDataServiceDASImpl. I don't get any problem at build time, but at run time the instance this class configured into AccountServiceImpl's accountDataService reference returns false when asked it is an instanceof Int2.
Re: @Service with an interface list
Posted by Jean-Sebastien Delfino <js...@apache.org>.
Ignacio Silva-Lepe wrote:
> Sorry if this is a FAQ, but is something like @Service(interfaces={Int1.class,Int2.class}) supported in the current code? I tried to add one more interface to AccountDataServiceDASImpl. I don't get any problem at build time, but at run time the instance this class configured into AccountServiceImpl's accountDataService reference returns false when asked it is an instanceof Int2.
>
>
Ignacio, this ia a known bug, reported in
http://issues.apache.org/jira/browse/TUSCANY-301. From today's IRC
discussion it's probably not going to get fixed in M1.
--
Jean-Sebastien