testProbeBuilder.setHeader("Bundle-SymbolicName", "PAXEXAM-PROBE-"
+ createID("created probe"));
return testProbeBuilder;
}
else {
ConfigurationFactory configurationFactory = ServiceProviderFinder
.findAnyServiceProvider(ConfigurationFactory.class);
LOG.debug("creating WAR probe");
if (configurationFactory == null) {
return new WarTestProbeBuilderImpl(getTempFolder());
}
else {
Option[] configuration = configurationFactory.createConfiguration();
Option[] tempOptions = combine(combinedOptions, configuration);
warProbeOption = getSingleOption(WarProbeOption.class, tempOptions);
return new WarTestProbeBuilderImpl(getTempFolder(), warProbeOption);
}
}