|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jetspeed.tools.pamanager.servletcontainer.JBossManager
public class JBossManager
JBoss application server management
Constructor Summary | |
---|---|
JBossManager()
|
Method Summary | |
---|---|
ApplicationServerManagerResult |
deploy(java.lang.String appPath,
java.io.InputStream is,
int size)
deploy |
java.lang.String |
getAppServerTarget(java.lang.String appName)
Returns the name of the target directory or archive where the portlet app will be deployed as known to the application server |
int |
getHostPort()
getHostPort |
java.lang.String |
getHostUrl()
getHostUrl |
boolean |
isConnected()
isConnected |
ApplicationServerManagerResult |
reload(java.lang.String appPath)
reload |
void |
start()
|
ApplicationServerManagerResult |
start(java.lang.String appPath)
start |
ApplicationServerManagerResult |
stop(java.lang.String appPath)
stop |
ApplicationServerManagerResult |
undeploy(java.lang.String appPath)
undeploy |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JBossManager()
Method Detail |
---|
public ApplicationServerManagerResult start(java.lang.String appPath) throws java.io.IOException
ApplicationServerManager
start
Starts the application represented by the context path,appPath
start
in interface ApplicationServerManager
appPath
- path to restart
java.io.IOException
public ApplicationServerManagerResult stop(java.lang.String appPath) throws java.io.IOException
ApplicationServerManager
stop
Stops the application represented by the context path,appPath
stop
in interface ApplicationServerManager
java.io.IOException
public ApplicationServerManagerResult reload(java.lang.String appPath) throws java.io.IOException
ApplicationServerManager
reload
Reloads the application represented by the context path,appPath
. This
must included re-reading the web.xml and reloading all classpath resources.
reload
in interface ApplicationServerManager
java.io.IOException
public ApplicationServerManagerResult undeploy(java.lang.String appPath) throws java.io.IOException
ApplicationServerManager
undeploy
Undeploys the application represented by the context path,appPath
- Specified by:
undeploy
in interface ApplicationServerManager
- Returns:
- container-specific status message
- Throws:
java.io.IOException
public ApplicationServerManagerResult deploy(java.lang.String appPath, java.io.InputStream is, int size) throws java.io.IOException
ApplicationServerManager
deploy
Deploys the contents of the InputStream,is
, into the parent servlet
container using the specified appPath
as the context path.
deploy
in interface ApplicationServerManager
size
- size (in bytes) of InputStream is
java.io.IOException
public int getHostPort()
ApplicationServerManager
getHostPort
getHostPort
in interface ApplicationServerManager
public java.lang.String getHostUrl()
ApplicationServerManager
getHostUrl
getHostUrl
in interface ApplicationServerManager
public boolean isConnected()
ApplicationServerManager
isConnected
isConnected
in interface ApplicationServerManager
public void start()
public java.lang.String getAppServerTarget(java.lang.String appName)
ApplicationServerManager
Returns the name of the target directory or archive where the portlet app will be deployed as known to the application server
getAppServerTarget
in interface ApplicationServerManager
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |