Ignore:
Timestamp:
03/17/14 11:19:03 (11 years ago)
Author:
wojtekp
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • DCWoRMS/branches/coolemall/src/schedframe/resources/computing/description/ComputingResourceDescription.java

    r1207 r1282  
    1111import schedframe.resources.ResourceTypeFactory; 
    1212import schedframe.resources.devices.Device; 
     13import schedframe.resources.devices.DeviceFactory; 
    1314import schedframe.resources.devices.description.DeviceDescription; 
    1415import schedframe.resources.devices.description.PhysicalResourceDescription; 
     
    3435                if (computingResource.getComputingResourceTypeChoiceSequence() != null) { 
    3536                        initResourceUnits(computingResource.getComputingResourceTypeChoiceSequence().getResourceUnit()); 
    36  
    3737                        initProfiles(computingResource.getComputingResourceTypeChoiceSequence().getProfile()); 
    3838                        initLocation(computingResource.getComputingResourceTypeChoiceSequence().getLocation()); 
     
    6464                        this.devices = new ArrayList<Device>(); 
    6565                        for(int i = 0; i < dev.length; i++){ 
    66                                 Device device = new Device(new DeviceDescription(dev[i])); 
     66                                Device device =  DeviceFactory.createDevice(new DeviceDescription(dev[i])); 
    6767                                this.devices.add(device); 
    6868                        } 
Note: See TracChangeset for help on using the changeset viewer.