ResourceHandle handle = getHandle(bsn, range, strategy, properties);
return handle != null ? handle.request() : null;
}
public ResourceHandle getHandle(String bsn, String range, Strategy strategy, Map<String, String> properties) throws Exception {
ResourceHandle result;
if (bsn != null)
result = resolveBundle(bsn, range, strategy);
else {
String pkgName = properties.get(CapabilityType.PACKAGE.getTypeName());