Package org.codehaus.cargo.container.spi

Examples of org.codehaus.cargo.container.spi.AbstractRemoteContainer


            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;


        } else {
            AbstractStandaloneLocalConfiguration config = (AbstractStandaloneLocalConfiguration) configFactory.createConfiguration(id, ContainerType.INSTALLED, ConfigurationType.STANDALONE, home);
            configure(config);

            AbstractInstalledLocalContainer container = (AbstractInstalledLocalContainer) containerFactory.createContainer(id, ContainerType.INSTALLED, config);

            // Explicitly sets the home on the LocalContainer:
            container.setHome(home);

            return container;
        }

View Full Code Here

TOP

Related Classes of org.codehaus.cargo.container.spi.AbstractRemoteContainer

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.