public class DefaultApiService extends Object implements ApiService, org.mule.runtime.module.deployment.api.DeploymentListener
| Constructor and Description |
|---|
DefaultApiService(org.mule.runtime.module.deployment.api.DeploymentService deploymentService) |
public DefaultApiService(org.mule.runtime.module.deployment.api.DeploymentService deploymentService)
public void onArtifactInitialised(String artifactName, org.mule.runtime.api.artifact.Registry registry)
onArtifactInitialised in interface org.mule.runtime.module.deployment.api.DeploymentListenerpublic void addApiContractsListener(ApiContractsListener apiContractsListener)
addApiContractsListener in interface ApiServicepublic void onDeploymentSuccess(String artifactName)
onDeploymentSuccess in interface org.mule.runtime.module.deployment.api.DeploymentListenerpublic void onDeploymentFailure(String artifactName, Throwable cause)
onDeploymentFailure in interface org.mule.runtime.module.deployment.api.DeploymentListenerpublic void onUndeploymentStart(String artifactName)
onUndeploymentStart in interface org.mule.runtime.module.deployment.api.DeploymentListenerpublic void onRedeploymentStart(String artifactName)
onRedeploymentStart in interface org.mule.runtime.module.deployment.api.DeploymentListenerpublic boolean isDeployed(com.mulesoft.mule.runtime.gw.api.key.ApiKey apiKey)
isDeployed in interface ApiServicepublic Optional<ApiImplementation> getImplementation(com.mulesoft.mule.runtime.gw.api.key.ApiKey apiKey)
getImplementation in interface ApiServicepublic Optional<Api> get(com.mulesoft.mule.runtime.gw.api.key.ApiKey apiKey)
get in interface ApiServicepublic Optional<Api> find(String appName, String flowName)
find in interface ApiServicepublic Optional<Api> find(String appName, String flowName, Supplier<String> serviceSupplier)
find in interface ApiServicepublic List<Api> getApis()
getApis in interface ApiServicepublic void addDeploymentListener(ApiDeploymentListener apiDeploymentListener)
addDeploymentListener in interface ApiServicepublic void removeDeploymentListener(ApiDeploymentListener apiDeploymentListener)
removeDeploymentListener in interface ApiServicepublic void updateHdpApis(ApiRegistry apiRegistry)
updateHdpApis in interface ApiServicepublic Optional<ApiContracts> getContracts(com.mulesoft.mule.runtime.gw.api.key.ApiKey key)
getContracts in interface ApiContractsSupplierpublic DefaultApiService contractsRequired(com.mulesoft.mule.runtime.gw.api.key.ApiKey key)
contractsRequired in interface com.mulesoft.mule.runtime.gw.api.service.ApiContractsPrefetchpublic DefaultApiService noContractsRequired(com.mulesoft.mule.runtime.gw.api.key.ApiKey key)
noContractsRequired in interface com.mulesoft.mule.runtime.gw.api.service.ApiContractsPrefetchCopyright © 2014–2024 MuleSoft, Inc.. All rights reserved.