stateReason = "the service constructor threw an exception. \n" + printException(e);
throw e;
}
Map<String, Object> unsetProperties = objectRecipe.getUnsetProperties();
if (unsetProperties.size() > 0) {
throw new ConstructionException("Error creating gbean of class: " + gbeanInfo.getClassName() + ", attempting to set nonexistent properties: " + unsetProperties.keySet());
}
// write the target variable in a synchronized block so it is available to all threads
// we do this before calling the setters or start method so the bean can be called back
// from a setter start method