in src/main/java/org/apache/sling/installer/core/impl/OsgiInstallerImpl.java [1002:1027]
private void checkSatisfied() {
synchronized ( this.resourcesLock ) {
if ( !this.satisfied ) {
this.satisfied = true;
if ( this.ctx.getProperty(PROP_REQUIRED_SERVICES) != null ) {
final String[] reqs = this.ctx.getProperty(PROP_REQUIRED_SERVICES).split(",");
this.satisfied = true;
for(final String val : reqs) {
if ( val.startsWith("resourcetransformer:") ) {
final String name = val.substring(20);
this.satisfied = this.transformerTracker.check(ResourceTransformer.NAME, name);
} else if ( val.startsWith("installtaskfactory:") ) {
final String name = val.substring(19);
this.satisfied = this.factoryTracker.check(InstallTaskFactory.NAME, name);
} else {
logger.warn("Invalid requirements for installer: {}", val);
}
}
}
}
}
}