org.apache.jetspeed.tools.pamanager.servletcontainer
Class JBossManager

java.lang.Object
  extended by org.apache.jetspeed.tools.pamanager.servletcontainer.JBossManager
All Implemented Interfaces:
org.apache.jetspeed.tools.pamanager.servletcontainer.ApplicationServerManager

public class JBossManager
extends Object
implements org.apache.jetspeed.tools.pamanager.servletcontainer.ApplicationServerManager

JBoss application server management

Version:
$Id: JBossManager.java 516881 2007-03-11 10:34:21Z ate $
Author:
David Sean Taylor

Constructor Summary
JBossManager()
           
 
Method Summary
 org.apache.jetspeed.tools.pamanager.servletcontainer.ApplicationServerManagerResult deploy(String appPath, InputStream is, int size)
           
 String getAppServerTarget(String appName)
           
 int getHostPort()
           
 String getHostUrl()
           
 boolean isConnected()
           
 org.apache.jetspeed.tools.pamanager.servletcontainer.ApplicationServerManagerResult reload(String appPath)
           
 void start()
           
 org.apache.jetspeed.tools.pamanager.servletcontainer.ApplicationServerManagerResult start(String appPath)
           
 org.apache.jetspeed.tools.pamanager.servletcontainer.ApplicationServerManagerResult stop(String appPath)
           
 org.apache.jetspeed.tools.pamanager.servletcontainer.ApplicationServerManagerResult undeploy(String appPath)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JBossManager

public JBossManager()
Method Detail

start

public org.apache.jetspeed.tools.pamanager.servletcontainer.ApplicationServerManagerResult start(String appPath)
                                                                                          throws IOException
Specified by:
start in interface org.apache.jetspeed.tools.pamanager.servletcontainer.ApplicationServerManager
Throws:
IOException

stop

public org.apache.jetspeed.tools.pamanager.servletcontainer.ApplicationServerManagerResult stop(String appPath)
                                                                                         throws IOException
Specified by:
stop in interface org.apache.jetspeed.tools.pamanager.servletcontainer.ApplicationServerManager
Throws:
IOException

reload

public org.apache.jetspeed.tools.pamanager.servletcontainer.ApplicationServerManagerResult reload(String appPath)
                                                                                           throws IOException
Specified by:
reload in interface org.apache.jetspeed.tools.pamanager.servletcontainer.ApplicationServerManager
Throws:
IOException

undeploy

public org.apache.jetspeed.tools.pamanager.servletcontainer.ApplicationServerManagerResult undeploy(String appPath)
                                                                                             throws IOException
Specified by:
undeploy in interface org.apache.jetspeed.tools.pamanager.servletcontainer.ApplicationServerManager
Throws:
IOException

deploy

public org.apache.jetspeed.tools.pamanager.servletcontainer.ApplicationServerManagerResult deploy(String appPath,
                                                                                                  InputStream is,
                                                                                                  int size)
                                                                                           throws IOException
Specified by:
deploy in interface org.apache.jetspeed.tools.pamanager.servletcontainer.ApplicationServerManager
Throws:
IOException

getHostPort

public int getHostPort()
Specified by:
getHostPort in interface org.apache.jetspeed.tools.pamanager.servletcontainer.ApplicationServerManager

getHostUrl

public String getHostUrl()
Specified by:
getHostUrl in interface org.apache.jetspeed.tools.pamanager.servletcontainer.ApplicationServerManager

isConnected

public boolean isConnected()
Specified by:
isConnected in interface org.apache.jetspeed.tools.pamanager.servletcontainer.ApplicationServerManager

start

public void start()

getAppServerTarget

public String getAppServerTarget(String appName)
Specified by:
getAppServerTarget in interface org.apache.jetspeed.tools.pamanager.servletcontainer.ApplicationServerManager


Copyright © 1999-2007 Apache Software Foundation. All Rights Reserved.