public class ProfilingDeploymentListener extends Object implements org.mule.runtime.module.deployment.api.DeploymentListener
DeploymentListener that registers a set of ProfilingDataConsumer in order to make them discoverable by the
runtime.ProfilingPlugin,
ProfilingService| Modifier and Type | Field and Description |
|---|---|
static String |
PROFILING_DISCOVERY_PREFIX |
| Constructor and Description |
|---|
ProfilingDeploymentListener(Set<org.mule.runtime.api.profiling.ProfilingDataConsumer<?>> profilingDataConsumers,
String profilingPluginName) |
| Modifier and Type | Method and Description |
|---|---|
void |
onArtifactCreated(String artifactName,
org.mule.runtime.api.config.custom.CustomizationService customizationService)
Adds a
ProfilingDataConsumerDiscoveryStrategy as a custom service under a unique ID. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitonArtifactInitialised, onArtifactStarted, onArtifactStopped, onDeploymentFailure, onDeploymentStart, onDeploymentSuccess, onRedeploymentFailure, onRedeploymentStart, onRedeploymentSuccess, onUndeploymentFailure, onUndeploymentStart, onUndeploymentSuccesspublic static final String PROFILING_DISCOVERY_PREFIX
public void onArtifactCreated(String artifactName, org.mule.runtime.api.config.custom.CustomizationService customizationService)
ProfilingDataConsumerDiscoveryStrategy as a custom service under a unique ID.onArtifactCreated in interface org.mule.runtime.module.deployment.api.DeploymentListenerartifactName - The name of the artifact that owns CustomizationService.customizationService - The CustomizationService.Copyright © 2006–2022 MuleSoft, Inc.. All rights reserved.