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

org.mentacontainer.Factory Maven / Gradle / Ivy

Go to download

A IOC container as simple and pragmatic as it can get with programmatic configuration through a Fluent API.

There is a newer version: 1.2.6
Show newest version
package org.mentacontainer;

/**
 * An IoC factory that knows how to create instances.
 * 
 * @author [email protected]
 */
public interface Factory {
	
	/**
	 * Returns an instance. Creates one if necessary.
	 * 
	 * @return an instance
	 */
	public  T getInstance();
	
	
	/**
	 * Return the type of objects that this factory disposes.
	 * 
	 * @return the type of objects returned by this factory.
	 */
	public Class getType();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy