1 5 package com.tc.server; 6 7 import com.tc.config.schema.setup.L2TVSConfigurationSetupManager; 8 import com.tc.lang.TCThreadGroup; 9 import com.tc.util.factory.AbstractFactory; 10 11 public abstract class AbstractServerFactory extends AbstractFactory { 12 private static String FACTORY_SERVICE_ID = "com.tc.server.ServerFactory"; 13 private static Class STANDARD_SERVER_FACTORY_CLASS = StandardServerFactory.class; 14 15 public static AbstractServerFactory getFactory() { 16 return (AbstractServerFactory)getFactory(FACTORY_SERVICE_ID, STANDARD_SERVER_FACTORY_CLASS); 17 } 18 19 public abstract TCServer createServer(L2TVSConfigurationSetupManager configurationSetupManager, 20 TCThreadGroup threadGroup); 21 } 22 | Popular Tags |