public final class CarbonServerManager extends Object implements org.wso2.carbon.utils.Controllable
Modifier and Type | Field and Description |
---|---|
String |
axis2RepoLocation |
boolean |
isEmbedEnv |
protected String |
serverName |
String |
serverWorkDir |
Constructor and Description |
---|
CarbonServerManager() |
Modifier and Type | Method and Description |
---|---|
void |
populateListeners()
Populate both listeners with the relavent bundles
|
void |
restart() |
void |
restartGracefully() |
void |
shutdown()
Forced shutdown
|
void |
shutdownGracefully()
Graceful shutdown
|
void |
start(org.osgi.framework.BundleContext context)
Start the CarbonServerManager
|
void |
stop()
Stop the Carbon server
|
protected String serverName
public boolean isEmbedEnv
public String serverWorkDir
public String axis2RepoLocation
public void start(org.osgi.framework.BundleContext context)
context
- The CarbonCore BundleContextpublic void populateListeners()
public void restart()
restart
in interface org.wso2.carbon.utils.Controllable
public void restartGracefully()
restartGracefully
in interface org.wso2.carbon.utils.Controllable
public void shutdown()
shutdown
in interface org.wso2.carbon.utils.Controllable
public void shutdownGracefully()
shutdownGracefully
in interface org.wso2.carbon.utils.Controllable
Copyright © 2016 WSO2 Inc. All rights reserved.