trip.jsr.cdi.ProviderWrapper Maven / Gradle / Ivy
package trip.jsr.cdi;
import javax.inject.Provider;
import lombok.RequiredArgsConstructor;
import trip.spi.ProducerFactory;
import trip.spi.helpers.EmptyProviderContext;
@RequiredArgsConstructor
public class ProviderWrapper implements Provider {
final ProducerFactory factory;
@Override
public T get() {
return factory.provide(EmptyProviderContext.INSTANCE);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy