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

com.zandero.rest.bean.BeanProvider Maven / Gradle / Ivy

The newest version!
package com.zandero.rest.bean;

import com.zandero.rest.injection.InjectionProvider;
import io.vertx.ext.web.RoutingContext;

public interface BeanProvider {

    /**
     * @param clazz             to be provided
     * @param context           current request context
     * @param injectionProvider injection provider
     * @param                class type
     * @return object initialized from request / context
     * @throws Throwable exception in case context can't be provided
     */
     T provide(Class clazz, RoutingContext context, InjectionProvider injectionProvider) throws Throwable;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy