private void loadTomcatGroup() {
   // All nodes are placed first
   loader.loadType("tosca.nodes.Compute", baseTypes);
   loader.loadType("tosca.nodes.Java", javaTypes);
   loader.loadType("tosca.nodes.Tomcat", javaTypes);
   loader.loadType("tosca.nodes.War", javaTypes);
   // Java hosted on compute
   loader.loadType("tosca.relationships.HostedOn", baseTypes);
   // Tomcat hosted on compute
   loader.loadType("tosca.relationships.HostedOn", baseTypes);
   // War hosted on tomcat
   loader.loadType("tosca.relationships.WarDeployedOn", javaTypes);
   // Tomcat depends on Java
   loader.loadType("tosca.relationships.DependsOn", baseTypes);
 }
 private void loadGigaSpacesGroup() {
   // All gigaspaces group nodes are placed first
   loader.loadType("tosca.nodes.Compute", baseTypesV2);
   loader.loadType("tosca.nodes.Java", javaTypesV2);
   loader.loadType("tosca.nodes.GigaSpaces", javaTypesV2);
   // Java hosted on compute
   loader.loadType("tosca.relationships.HostedOn", baseTypesV2);
   // GigaSpaces hosted on compute
   loader.loadType("tosca.relationships.HostedOn", baseTypes);
   // GigaSpaces depends on Java
   loader.loadType("tosca.relationships.DependsOn", baseTypes);
   // War connect to gigaspaces
   loader.loadType("tosca.relationships.ConnectedTo", baseTypes);
 }