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

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

The newest version!
package com.nikedlab.android.inject.interfaces;


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