All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.spt.development.audit.spring.DefaultCorrelationIdProvider Maven / Gradle / Ivy

package com.spt.development.audit.spring;

import com.spt.development.cid.CorrelationId;

/**
 * Default {@link CorrelationIdProvider} providing a wrapper around {@link CorrelationId}.
 */
public class DefaultCorrelationIdProvider implements CorrelationIdProvider {

    /**
     * Gets the current correlation Id.
     *
     * @return the current correlation Id.
     */
    @Override
    public String getCorrelationId() {
        return CorrelationId.get();
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy