01: /*
02: * JFolder, Copyright 2001-2006 Gary Steinmetz
03: *
04: * Distributable under LGPL license.
05: * See terms of license at gnu.org.
06: */
07:
08: package org.jfolder.platforms.servers.base;
09:
10: //base classes
11:
12: //project specific classes
13: import org.jfolder.common.UnexpectedSystemException;
14: import org.jfolder.common.utils.misc.MiscHelper;
15: import org.jfolder.platforms.stores.base.SystemStore;
16: import org.jfolder.platforms.stores.base.SystemStoreFactory;
17:
18: //other classes
19:
20: public final class SystemServerFactory {
21:
22: private SystemServerFactory() {
23: }
24:
25: public final static SystemServer getSystemServer() {
26:
27: SystemServer outValue = null;
28:
29: //MiscHelper.println("SystemServerFactory Not Implemented");
30: //
31: //String p = "org.jfolder.platforms.servers.instances.tomcat.";
32: //String c = "TomcatServer";
33: //String s = SystemStore.getApplicationServer();
34: Object o = SystemStoreFactory
35: .getApplicationDataSourceResolver();
36: outValue = (SystemServer) o;
37:
38: return outValue;
39: }
40:
41: }
|