*/
private SpringExtensionConfiguration getConfiguration(Instance<ArquillianDescriptor> descriptor) {
Map<String, String> properties = getExtensionProperties(descriptor.get());
SpringExtensionConfiguration result = new SpringExtensionConfiguration();
result.setAutoPackaging(getBooleanProperty(properties,
SpringExtensionConstants.CONFIGURATION_AUTO_PACKAGE, true));
result.setSpringVersion(getStringProperty(properties,
SpringExtensionConstants.CONFIGURATION_SPRING_VERSION, null));
result.setCglibVersion(getStringProperty(properties,
SpringExtensionConstants.CONFIGURATION_CGLIB_VERSION, null));
result.setIncludeSnowdrop(getBooleanProperty(properties,
SpringExtensionConstants.CONFIGURATION_INCLUDE_SNOWDROP, false));
result.setSnowdropVersion(getStringProperty(properties,
SpringExtensionConstants.CONFIGURATION_SNOWDROP_VERSION, null));
result.setCustomContextClass(getStringProperty(properties,
SpringExtensionConstants.CONFIGURATION_CUSTOM_CONTEXT_CLASS, null));
result.setCustomAnnotationContextClass(getStringProperty(properties,
SpringExtensionConstants.CONFIGURATION_CUSTOM_ANNOTATION_CONTEXT_CLASS, null));
return result;
}