Hi Benson, On Tue, Nov 17, 2015 at 8:00 PM, Benson Margulies <[email protected]> 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. See 112.5.8 - Activate Method and 112.5.15 - Deactivate Method in the OSGi R6 Compendium specs for details. Robert --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

