Package org.jtestserver.client.process

Examples of org.jtestserver.client.process.VMConfig


        Properties properties = readProperties(configFile);
       
        // read the vm configuration
        String vm = ConfigUtils.getString(properties, "use.vm");
        Properties vmProperties = readProperties(new File(configFile.getParentFile(), vm + ".properties"));
        VMConfig vmConfig = createVMConfig(vmProperties, vm);
           
        return new Config(properties, vmConfig);
    }
View Full Code Here


     * @return
     * @throws IOException
     */
    protected VMConfig createVMConfig(Properties vmProperties, String vm) throws IOException {
        String type = ConfigUtils.getString(vmProperties, VM_TYPE);
        final VMConfig vmConfig;
        if (KVM_TYPE.equals(type)) {
            vmConfig = new KVMConfig(vmProperties);
        } else if (VMWARE_TYPE.equals(type)) {
            vmConfig = new VMwareConfig(vmProperties);
        } else if (JVM_TYPE.equals(type)) {
View Full Code Here

TOP

Related Classes of org.jtestserver.client.process.VMConfig

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.