20212223242526
private ServiceRegistration registration; @Override public void start( BundleContext bundleContext ) throws Exception { registration = bundleContext.registerService( SseFeature.class.getName(), new SseFeature(), null ); }
19202122232425
private ServiceRegistration<SseFeature> registration; @Override public void start( BundleContext bundleContext ) throws Exception { registration = bundleContext.registerService( SseFeature.class, new SseFeature(), null ); }