Class CarbonServerLifeCycleListener
java.lang.Object
org.wso2.carbon.webapp.ext.cxf.lifecycle.CarbonServerLifeCycleListener
- All Implemented Interfaces:
org.apache.cxf.endpoint.ServerLifeCycleListener
public class CarbonServerLifeCycleListener
extends Object
implements org.apache.cxf.endpoint.ServerLifeCycleListener
Implementation of ServerLifeCycleListener interface. Custom CXF extensions can be added here. Currently perform following tasks.
1. Load the configuration from carbon.xml to be used in future.
2. Scan the registered interceptors and replace WSDLGetInterceptor by HostNameSupportedWSDLGetInterceptor if it available on Classpath.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidsetCarbonHostName(org.apache.cxf.endpoint.Server server, CarbonConfiguration configuration) voidstartServer(org.apache.cxf.endpoint.Server server) voidstopServer(org.apache.cxf.endpoint.Server server)
-
Constructor Details
-
CarbonServerLifeCycleListener
public CarbonServerLifeCycleListener()
-
-
Method Details
-
startServer
public void startServer(org.apache.cxf.endpoint.Server server) - Specified by:
startServerin interfaceorg.apache.cxf.endpoint.ServerLifeCycleListener
-
stopServer
public void stopServer(org.apache.cxf.endpoint.Server server) - Specified by:
stopServerin interfaceorg.apache.cxf.endpoint.ServerLifeCycleListener
-
setCarbonHostName
protected void setCarbonHostName(org.apache.cxf.endpoint.Server server, CarbonConfiguration configuration)
-