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: import java.math.BigDecimal;
12: import java.sql.Connection;
13: import java.sql.PreparedStatement;
14: import java.sql.ResultSet;
15: import java.sql.SQLException;
16: import java.sql.Statement;
17: import javax.naming.Context;
18: import javax.naming.InitialContext;
19: import javax.naming.NamingException;
20: import javax.rmi.PortableRemoteObject;
21: import javax.sql.DataSource;
22:
23: //project specific classes
24: import org.jfolder.common.UnexpectedSystemException;
25: import org.jfolder.common.tagging.ConceptTagPreferences;
26: import org.jfolder.platforms.stores.base.ApplicationDataSourceResolver;
27: import org.jfolder.project.model.ProjectSystem;
28:
29: //other classes
30:
31: public abstract class SystemServer implements
32: ApplicationDataSourceResolver {
33:
34: protected SystemServer() {
35: //this.conn = getConnection();
36: }
37:
38: public static String getDisplayName() {
39: throw UnexpectedSystemException.notImplemented();
40: }
41:
42: //public abstract String getActualDataSourceName(String inHandle);
43:
44: public abstract void restartServer();
45:
46: public abstract void deployProject(ProjectSystem inPs,
47: ConceptTagPreferences inCtp);
48:
49: public abstract void undeployProject(ProjectSystem inPs);
50:
51: //public abstract String getActualWebTemplateLocation(String inHandle);
52: }
|