org.wso2.carbon.integration.common.extensions.carbonserver
Class CarbonServerManager
java.lang.Object
org.wso2.carbon.integration.common.extensions.carbonserver.CarbonServerManager
public class CarbonServerManager
- extends Object
A set of utility methods such as starting & stopping a Carbon server.
|
Constructor Summary |
CarbonServerManager(org.wso2.carbon.automation.engine.context.AutomationContext context)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CarbonServerManager
public CarbonServerManager(org.wso2.carbon.automation.engine.context.AutomationContext context)
startServerUsingCarbonHome
public void startServerUsingCarbonHome(String carbonHome,
Map<String,String> commandMap)
throws Exception
- Throws:
Exception
setUpCarbonHome
public String setUpCarbonHome(String carbonServerZipFile)
throws IOException
- Throws:
IOException
serverShutdown
public void serverShutdown(int portOffset)
throws Exception
- Throws:
Exception
restartGracefully
public void restartGracefully(ServerAdminClient serverAdminClient)
throws Exception
- Throws:
Exception
Copyright © 2015 WSO2. All rights reserved.