protected void removeStartedApplication ( ServiceReference < Application > ref ) { String appName = ( String ) ref . getProperty ( NAME ) ; lock . writeLock ( ) . lock ( ) ; try { appStates . remove ( appName ) ; } finally { lock . writeLock ( ) . unlock ( ) ; } }
Declarative Services method for unsetting a started Application instance