Class Axis2Server
- java.lang.Object
-
- org.apache.axis2.engine.AxisServer
-
- org.apache.axis2.kernel.SimpleAxis2Server
-
- org.apache.axis2.maven2.server.util.Axis2Server
-
public class Axis2Server extends SimpleAxis2Server
The Class Axis2Server.- Since:
- 1.7.0
-
-
Field Summary
-
Fields inherited from class org.apache.axis2.kernel.SimpleAxis2Server
DEFAULT_PORT
-
Fields inherited from class org.apache.axis2.engine.AxisServer
configContext, listenerManager
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Axis2Server
newInstance(String repoPath, String confPath, String port, org.apache.maven.plugin.logging.Log mavenLog)
Create new instance of Axis2Server.void
startServer()
Start server.void
stopServer()
Stop server.-
Methods inherited from class org.apache.axis2.kernel.SimpleAxis2Server
main, printUsage
-
Methods inherited from class org.apache.axis2.engine.AxisServer
createDefaultConfigurationContext, deployService, getConfigurationContext, setConfigurationContext, start, stop
-
-
-
-
Method Detail
-
newInstance
public static Axis2Server newInstance(String repoPath, String confPath, String port, org.apache.maven.plugin.logging.Log mavenLog)
Create new instance of Axis2Server.- Parameters:
repoPath
- the repo pathconfPath
- the conf pathport
- the portlog
-- Returns:
- the axis2 server
-
startServer
public void startServer()
Start server.
-
stopServer
public void stopServer()
Stop server.
-
-