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.instances.jboss;
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.servers.base.SystemServer;
27: import org.jfolder.project.model.ProjectSystem;
28:
29: //other classes
30:
31: public class JBossServer extends SystemServer {
32:
33: public JBossServer() {
34: }
35:
36: public static String getDisplayName() {
37: return "JBoss";
38: }
39:
40: public void restartServer() {
41: throw UnexpectedSystemException.notImplemented();
42: }
43:
44: public void deployProject(ProjectSystem inPs,
45: ConceptTagPreferences inCtp) {
46: throw UnexpectedSystemException.notImplemented();
47: }
48:
49: public void undeployProject(ProjectSystem inPs) {
50: throw UnexpectedSystemException.notImplemented();
51: }
52:
53: public String getActualDataSourceName(String inHandle) {
54: throw UnexpectedSystemException.notImplemented();
55: }
56:
57: public String getActualWebTemplateLocation(String inHandle) {
58: throw UnexpectedSystemException.notImplemented();
59: }
60:
61: public String getRelativeWebPageLocation(String inName) {
62:
63: StringBuffer outValue = new StringBuffer();
64:
65: outValue.append("/WEB-INF/jsps/apps");
66: outValue.append(inName);
67: outValue.append(".jsp");
68:
69: return outValue.toString();
70: }
71: }
|