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

io.smallrye.config.common.AbstractDelegatingConverter Maven / Gradle / Ivy

There is a newer version: 3.10.1
Show newest version
package io.smallrye.config.common;

import org.eclipse.microprofile.config.spi.Converter;

/**
 * A converter which wraps another converter (possibly of a different type).
 */
public abstract class AbstractDelegatingConverter extends AbstractConverter {
    private static final long serialVersionUID = 7514544475086344689L;

    private final Converter delegate;

    protected AbstractDelegatingConverter(final Converter delegate) {
        this.delegate = delegate;
    }

    public Converter getDelegate() {
        return delegate;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy