protected void registerPauseableComponentController ( BundleContext systemContext ) { PauseableComponentControllerImpl pauseableComponentController = new PauseableComponentControllerImpl ( systemContext ) ; if ( pauseableComponentController != null ) { Hashtable < String , String > svcProps = new Hashtable < String , String > ( ) ; systemContext . registerService ( PauseableComponentController . class . getName ( ) , pauseableComponentController , svcProps ) ; } }
Register the PauseableComponentController class as a service in the OSGi registry