8.3.3 Abortive Shutdown of a Reaction Client

As previously discussed, an abortive shutdown occurs when the Reaction service is removed while the Reaction client is still running. This causes the OSGi framework to issue a removedService callback as shown in Listing 8.7 without previously having called the activator's stop method. The consequence of this is that an abortive shutdown will be detected, causing the lifecycle handler's abort method to be executed.