*/
public ServiceResource[] getServiceResources(final ProvisionRequest provisionRequest) throws ProvisionException {
ServiceResource[] svcResources = getServiceResources();
ArrayList<ServiceResource> list = new ArrayList<ServiceResource>();
for (ServiceResource svcResource : svcResources) {
InstantiatorResource ir = (InstantiatorResource) svcResource.getResource();
try {
if (ir.canProvision(provisionRequest)) {
list.add(svcResource);
}
} catch (Exception e) {
logger.warn("[{}] during canProvision check for [{}/{}]",
ir.getName(),
provisionRequest.getServiceElement().getOperationalStringName(),
provisionRequest.getServiceElement().getName(),
e);
if(e instanceof ProvisionException)
throw (ProvisionException)e;