1 /*
2 * Licensed to the Apache Software Foundation (ASF) under one or more
3 * contributor license agreements. See the NOTICE file distributed with
4 * this work for additional information regarding copyright ownership.
5 * The ASF licenses this file to You under the Apache License, Version 2.0
6 * (the "License"); you may not use this file except in compliance with
7 * the License. You may obtain a copy of the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
16 */
17 package org.apache.jetspeed.tools.pamanager.servletcontainer;
18
19 import java.io.IOException;
20 import java.io.InputStream;
21
22 /***
23 * JBoss application server management
24 *
25 * @author <a href="mailto:david@bluesunrise.com">David Sean Taylor</a>
26 * @version $Id: JBossManager.java 516881 2007-03-11 10:34:21Z ate $
27 */
28 public class JBossManager implements ApplicationServerManager
29 {
30
31 /* (non-Javadoc)
32 * @see org.apache.jetspeed.tools.pamanager.servletcontainer.ApplicationServerManager#start(java.lang.String)
33 */
34 public ApplicationServerManagerResult start(String appPath) throws IOException
35 {
36 // TODO Auto-generated method stub
37 return null;
38 }
39
40 /* (non-Javadoc)
41 * @see org.apache.jetspeed.tools.pamanager.servletcontainer.ApplicationServerManager#stop(java.lang.String)
42 */
43 public ApplicationServerManagerResult stop(String appPath) throws IOException
44 {
45 // TODO Auto-generated method stub
46 return null;
47 }
48
49 /* (non-Javadoc)
50 * @see org.apache.jetspeed.tools.pamanager.servletcontainer.ApplicationServerManager#reload(java.lang.String)
51 */
52 public ApplicationServerManagerResult reload(String appPath) throws IOException
53 {
54 // TODO Auto-generated method stub
55 return null;
56 }
57
58 /* (non-Javadoc)
59 * @see org.apache.jetspeed.tools.pamanager.servletcontainer.ApplicationServerManager#undeploy(java.lang.String)
60 */
61 public ApplicationServerManagerResult undeploy(String appPath) throws IOException
62 {
63 // TODO Auto-generated method stub
64 return null;
65 }
66
67 /* (non-Javadoc)
68 * @see org.apache.jetspeed.tools.pamanager.servletcontainer.ApplicationServerManager#deploy(java.lang.String, java.io.InputStream, int)
69 */
70 public ApplicationServerManagerResult deploy(String appPath, InputStream is, int size)
71 throws IOException
72 {
73 // TODO Auto-generated method stub
74 return null;
75 }
76
77 /* (non-Javadoc)
78 * @see org.apache.jetspeed.tools.pamanager.servletcontainer.ApplicationServerManager#getHostPort()
79 */
80 public int getHostPort()
81 {
82 // TODO Auto-generated method stub
83 return 0;
84 }
85
86 /* (non-Javadoc)
87 * @see org.apache.jetspeed.tools.pamanager.servletcontainer.ApplicationServerManager#getHostUrl()
88 */
89 public String getHostUrl()
90 {
91 // TODO Auto-generated method stub
92 return null;
93 }
94
95 /* (non-Javadoc)
96 * @see org.apache.jetspeed.tools.pamanager.servletcontainer.ApplicationServerManager#isConnected()
97 */
98 public boolean isConnected()
99 {
100 // TODO Auto-generated method stub
101 return false;
102 }
103
104 /* (non-Javadoc)
105 * @see groovy.swing.impl.Startable#start()
106 */
107 public void start()
108 {
109 // TODO Auto-generated method stub
110
111 }
112
113 public String getAppServerTarget(String appName)
114 {
115 return appName + ".war";
116 }
117 }