Ignore:
Timestamp:
11/28/13 10:54:54 (11 years ago)
Author:
wojtekp
Message:
 
File:
1 edited

Legend:

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

    r1207 r1247  
    11package schedframe.resources.computing; 
    22 
    3 import schedframe.resources.CoolEmAllResourceType; 
    43import schedframe.resources.StandardResourceType; 
    54import schedframe.resources.computing.description.ComputingResourceDescription; 
     
    2322                        return new Rack(resDesc); 
    2423                else if (resDesc.getType().equals(StandardResourceType.Node)) 
    25                         return new ComputingNode(resDesc); 
     24                        return new Node(resDesc); 
    2625                else if (resDesc.getType().equals(StandardResourceType.Processor)) 
    2726                        return new Processor(resDesc); 
     
    3029                else 
    3130                        return new ComputingResource(resDesc); 
    32          
    33                 /*switch(resDesc.getType()){ 
    34                         case Grid: return new Grid(resDesc); 
    35                         case DataCenter: return new DataCenter(resDesc); 
    36                         case ComputingNode: return new ComputingNode(resDesc); 
    37                         case Processor: return new Processor(resDesc); 
    38                 default: 
    39                         return new ComputingResource(resDesc); 
    40                 }*/ 
     31 
    4132        } 
    4233 
Note: See TracChangeset for help on using the changeset viewer.