ManagementFactory.java [src/nodes/factories] Revision: default Date:
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package nodes.factories;
import nodes.Management;
import nodes.WEPSManagement;
import translators.Translator.FORMAT;
import utils.Urls;
/**
*
* @author Brad
*/
public class ManagementFactory {
public static Management createManagement(FORMAT type, Urls urls) {
Management man = null;
switch (type) {
case WEPS:
man = new WEPSManagement(urls);
break;
}
return man;
}
}