On Tue, Nov 17, 2015 at 9:47 PM, Benson Margulies <ben...@basistech.com> wrote:
> On Tue, Nov 17, 2015 at 2:43 PM, Robert Munteanu <romb...@apache.org> wrote:
>> Hi Benson,
>>
>> On Tue, Nov 17, 2015 at 8:00 PM, Benson Margulies <ben...@basistech.com> 
>> wrote:
>>> I'm feeling a bit sad; I have a family of 12 very similar services,
>>> but I can't put the @Reference, @Activate, and @Deactivate into the
>>> base class, I have to copy and paste it into each component class.
>>>
>>> Have I missed an alternative?
>>
>> The @Activate and @Deactivate annotations are optional if you stick to
>> the standard 'activate' and 'deactivate' method names.
>
> I've also got some @References being repeated.
>
> As far as 'standard' goes, this is the standard that specs how bnd
> turns .class files into XML? So my only concern would be that some
> other tool might not do it?

The default activate and deactivate method names are not tied to bnd.
They are considered when these method names are not defined in the XML
descriptor.

Robert



-- 
Sent from my (old) computer

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@felix.apache.org
For additional commands, e-mail: users-h...@felix.apache.org

Reply via email to