for (int index = 0; index < resource_behaviors.length; index++)
{
try
{
resourceImpl[index] = new ResourceImpl01(_serviceNumber, _objectNumber, index, resource_behaviors[index]);
ResourcePOATie servant = new ResourcePOATie(resourceImpl[index]);
OAInterface.objectIsReady(servant);
resource[index] = ResourceHelper.narrow(OAInterface.corbaReference(servant));
recoveryCoordinator[index] = OTS.current().get_control().get_coordinator().register_resource(resource[index]);