io.smallrye.config.common.AbstractDelegatingConverter Maven / Gradle / Ivy
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 extends I> delegate;
protected AbstractDelegatingConverter(final Converter extends I> delegate) {
this.delegate = delegate;
}
public Converter extends I> getDelegate() {
return delegate;
}
}