* @throws UnknownProfileMemberException Unknown target profile.
*/
public ExecutionContext createExecutionContext(String targetProfile) throws UnknownProfileMemberException {
if(classLoader != null) {
ClassLoader originalTCCL = Thread.currentThread().getContextClassLoader();
CascadingClassLoaderSet newTCCL = new CascadingClassLoaderSet();
newTCCL.addClassLoader(classLoader);
newTCCL.addClassLoader(originalTCCL);
Thread.currentThread().setContextClassLoader(newTCCL);
try {
if(isConfigurable) {
initializeResourceConfigurations();