IStatus status = engine.perform(profile, set, provisioningPlan.getOperands(), context, monitor);
if (applyConfiguration) {
// Applying configuration without restarting the server. But still there are fixes to be done
try {
Configurator configurator = ServiceHolder.getConfigurator();
configurator.applyConfiguration();
} catch (Exception e) {
throw new ProvisioningException(e.getMessage(), e);
}
}
return status;