in src/main/java/org/apache/sling/rewriter/impl/TransformerFactoryServiceTracker.java [77:84]
public void removedService(ServiceReference<TransformerFactory> reference, TransformerFactory service) {
final boolean isGlobal = isGlobal(reference);
LOGGER.debug("Removing service {}, isGlobal={}", reference.getClass(), isGlobal);
super.removedService(reference, service);
if ( isGlobal && getType(reference) == null ) {
this.context.ungetService(reference);
}
}