01: /*
02: * All content copyright (c) 2003-2007 Terracotta, Inc., except as may otherwise be noted in a separate copyright
03: * notice. All rights reserved.
04: */
05: package com.tc.server;
06:
07: import com.tc.config.schema.setup.L2TVSConfigurationSetupManager;
08: import com.tc.lang.TCThreadGroup;
09: 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,
17: STANDARD_SERVER_FACTORY_CLASS);
18: }
19:
20: public abstract TCServer createServer(
21: L2TVSConfigurationSetupManager configurationSetupManager,
22: TCThreadGroup threadGroup);
23: }
|