public class ServerConnectorRegistry extends Object
ServerConnectorRegistry This will hold all server connectors registered at ballerina side.
It will also be responsible for notifying service registration events to the connector implementation.| Constructor and Description |
|---|
ServerConnectorRegistry() |
| Modifier and Type | Method and Description |
|---|---|
void |
deploymentComplete()
This method will notify underline server connectors about the deployment complete event.
|
BallerinaServerConnector |
getBallerinaServerConnector(String protocolPkgPath)
This method is used to get
BallerinaServerConnector instance for the given protocol package. |
void |
initServerConnectors() |
void |
registerService(ServiceInfo serviceInfo)
This method is used to register service to relevant server connector implementation.
|
public void initServerConnectors()
public void deploymentComplete()
public void registerService(ServiceInfo serviceInfo)
serviceInfo - to be registered.public BallerinaServerConnector getBallerinaServerConnector(String protocolPkgPath)
BallerinaServerConnector instance for the given protocol package.protocolPkgPath - of the server connector.Copyright © 2018 WSO2. All rights reserved.