|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jetspeed.tools.pamanager.servletcontainer.WeblogicManager
public class WeblogicManager
Weblogic application server management
| Constructor Summary | |
|---|---|
WeblogicManager()
|
|
| 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 |
void |
stop()
|
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 WeblogicManager()
| Method Detail |
|---|
public ApplicationServerManagerResult start(java.lang.String appPath)
throws java.io.IOException
ApplicationServerManagerstart
Starts the application represented by the context path,appPath
start in interface ApplicationServerManagerappPath - path to restart
java.io.IOException
public ApplicationServerManagerResult stop(java.lang.String appPath)
throws java.io.IOException
ApplicationServerManagerstop
Stops the application represented by the context path,appPath
stop in interface ApplicationServerManagerjava.io.IOException
public ApplicationServerManagerResult reload(java.lang.String appPath)
throws java.io.IOException
ApplicationServerManagerreload
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 ApplicationServerManagerjava.io.IOException
public ApplicationServerManagerResult undeploy(java.lang.String appPath)
throws java.io.IOException
ApplicationServerManagerundeploy
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
ApplicationServerManagerdeploy
Deploys the contents of the InputStream,is, into the parent servlet
container using the specified appPath as the context path.
deploy in interface ApplicationServerManagersize - size (in bytes) of InputStream is
java.io.IOExceptionpublic int getHostPort()
ApplicationServerManagergetHostPort
getHostPort in interface ApplicationServerManagerpublic java.lang.String getHostUrl()
ApplicationServerManagergetHostUrl
getHostUrl in interface ApplicationServerManagerpublic boolean isConnected()
ApplicationServerManagerisConnected
isConnected in interface ApplicationServerManagerpublic java.lang.String getAppServerTarget(java.lang.String appName)
ApplicationServerManagerReturns the name of the target directory or archive where the portlet app will be deployed as known to the application server
getAppServerTarget in interface ApplicationServerManagerpublic void start()
public void stop()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||