{
if (props != null)
{
// This hack associates the ExecutionType with the current thread
// such that the OSGitestEnricher can pick it up and know whether we run embedded or remote
ExecutionType executionType = (ExecutionType)props.get(ExecutionType.class);
executionTypeAssociation.set(executionType);
}
try
{