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

com.github.nill14.utils.init.api.IBeanInjector Maven / Gradle / Ivy

package com.github.nill14.utils.init.api;

import com.google.common.reflect.TypeToken;
import com.google.inject.Injector;

/**
 * 
 * Similar as AutowireCapableBeanFactory.autowireBeanProperties(existingBean, autowireMode, dependencyCheck);
 * or {@link Injector#injectMembers(Object)}
 *
 */
public interface IBeanInjector {
	
	void injectMembers(Object bean);
	
	 T wire(Class beanClass);
	
	 T wire(TypeToken typeToken);
	
	 T wire(IParameterType type);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy