int result = 0;
InstantiatorResource ir = (InstantiatorResource) serviceResource.getResource();
try {
//ir.incrementProvisionCounter(request.getServiceElement());
try {
ServiceProvisionEvent event = new ServiceProvisionEvent(context.getEventSource(),
request.getOpStringManager(),
request.getServiceElement());
event.setSequenceNumber(context.getServiceProvisionEventSequenceNumber().incrementAndGet());
event.setHandback(ir.getHandback());
/*
* Put the instantiate invocation in a for loop, the
* Cybernode may return null if there is a race-condition
* where a service is terminated, the FDH notifies the
* ServiceElementManager of the failure, the