Package org.codehaus.cargo.container.spi.configuration

Examples of org.codehaus.cargo.container.spi.configuration.AbstractRuntimeConfiguration


    protected Container getContainer(ConfigurationFactory configFactory, ContainerFactory containerFactory, String id) {

        if (hostname != null) {


            AbstractRuntimeConfiguration config = (AbstractRuntimeConfiguration) configFactory.createConfiguration(id, ContainerType.REMOTE, ConfigurationType.RUNTIME);
            configure(config);
            config.setProperty(RemotePropertySet.USERNAME, userName);
            config.setProperty(RemotePropertySet.PASSWORD, getPassword());
            config.setProperty(GeneralPropertySet.HOSTNAME, hostname);

            AbstractRemoteContainer container = (AbstractRemoteContainer) containerFactory.createContainer(id, ContainerType.REMOTE, config);

            return container;
View Full Code Here

TOP

Related Classes of org.codehaus.cargo.container.spi.configuration.AbstractRuntimeConfiguration

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.