/** * Register the {@link #matchers} in the given {@link CustomDataKeyDecorator} * service reference. * * @param ref service provider reference */ @Override public CustomDataKeyDecorator addingService(ServiceReference<CustomDataKeyDecorator> ref) { CustomDataKeyDecorator keyDecorator = super.addingService(ref); keyDecorator.registerMatchers(this.clazz, this.matchers); return keyDecorator; }
/** * Register the {@link #matchers} in the given {@link CustomDataKeyDecorator} * service reference. * * @param ref service provider reference */ @Override public CustomDataKeyDecorator addingService(ServiceReference<CustomDataKeyDecorator> ref) { CustomDataKeyDecorator keyDecorator = super.addingService(ref); keyDecorator.registerMatchers(this.clazz, this.matchers); return keyDecorator; }