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

com.nikedlab.android.inject.BindContext Maven / Gradle / Ivy

There is a newer version: 3.0.13
Show newest version
package com.nikedlab.android.inject;


public interface BindContext {
	
	/**
	 * Bind interface with implementation.
	 * @param interfaceClass Interface class.
	 * @param implementationClass Implementation class.
	 */
	void bind(Class interfaceClass, Class implementationClass);
	
	/**
	 * Bind implementation with annotations.
	 * @param implementationClass Implementation class.
	 */
	void bind(Class implementationClass);

	/**
	 * Bind singleton to interfaceClass.
	 * @param interfaceClass Interface class.
	 * @param singleton Singleton.
	 */
	void bindInstance(Class interfaceClass, Object singleton);
	

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy