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

org.nico.aoc.inject.BookInject Maven / Gradle / Ivy

There is a newer version: 1.1.3
Show newest version
package org.nico.aoc.inject;

import java.util.Map;

/** 
 * Inject Book Interface
 * @author nico
 * @version 创建时间:2017年12月13日 下午9:19:33
 */
public interface BookInject {
	
	/**
	 * Parameters inject into the object by set method
	 * @param object be injected Object
	 * @param parameters the map of key-value -> field-fieldValue
	 */
	public void parameterSetInject(Object object, Map paramSource) throws Throwable;
	
	/**
	 * Parameters inject into the object by constructor
	 * @param clazz be injected class
	 * @param parameters the map of key-value -> field-fieldValue
	 * return T object
	 */
	public  T parameterConstructorInject(Class clazz, Map parameters)  throws Throwable;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy