resource = selector.getServiceResource(request);
}
if (resource != null) {
InstantiatorResource ir = (InstantiatorResource) resource.getResource();
ir.incrementProvisionCounter(request.getServiceElement());
}
} catch (ProvisionException e) {
if (e.isUninstantiable()) {
request.setType(ProvisionRequest.Type.UNINSTANTIABLE);
request.getListener().uninstantiable(request);