Package com.asakusafw.windgate.core

Examples of com.asakusafw.windgate.core.GateProfile


        configureLogs(context);
        ClassLoader classLoader = createClassLoader(context, configurations);
        ClassLoader contextClassLoader = Thread.currentThread().getContextClassLoader();
        try {
            Thread.currentThread().setContextClassLoader(classLoader);
            GateProfile profile = loadProfile(context, classLoader, command.getCommandTokens().get(ARG_PROFILE));
            execute0(context, classLoader, profile, command);
        } finally {
            Thread.currentThread().setContextClassLoader(contextClassLoader);
            closeQuietly(classLoader);
        }
View Full Code Here


        }
        if (arguments == null) {
            throw new IllegalArgumentException("arguments must not be null"); //$NON-NLS-1$
        }
        LOG.debug("Create resource manipulator: {}", description.getClass().getName());
        GateProfile profile = loadProfile(testContext, description);
        String resourceName = description.getDriverScript().getResourceName();
        for (ResourceProfile resource : profile.getResources()) {
            if (resource.getName().equals(resourceName)) {
                return createManipulator(description, resource, arguments);
            }
        }
        throw new IOException(MessageFormat.format(
View Full Code Here

            } finally {
                input.close();
            }

            LOG.debug("Resolving a WindGate profile: {}", url);
            GateProfile profile = GateProfile.loadFrom(
                    profileName,
                    p,
                    new ProfileContext(classLoader, new ParameterList(testContext.getEnvironmentVariables())));
            return profile;
        } catch (Exception e) {
View Full Code Here

TOP

Related Classes of com.asakusafw.windgate.core.GateProfile

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.