use of org.apache.synapse.aspects.flow.statistics.data.artifact.ArtifactHolder in project wso2-synapse by wso2.
the class StatisticSynapseConfigurationObserver method endpointAdded.
@Override
public void endpointAdded(Endpoint endpoint) {
ArtifactHolder holder = new ArtifactHolder();
holder.setParent(endpoint.getName());
endpoint.setComponentStatisticsId(holder);
((AbstractEndpoint) endpoint).getDefinition().getAspectConfiguration().setHashCode(holder.getHashCodeAsString());
StatisticIdentityGenerator.conclude(holder);
}
Aggregations