jodd-petite/src/main/java/jodd/petite/PetiteBeans.java
public <T> BeanDefinition<T> registerPetiteBean(final Class<T> type, final Consumer<T> consumer) {
		return registerPetiteBean(type, null, null, null, false, consumer);
	}
public <T> BeanDefinition<T> registerPetiteBean(final Class<T> type, final Consumer<T> consumer) {
		return registerPetiteBean(type, null, null, null, false, consumer);
	}
public < T > BeanDefinition < T > registerPetiteBean ( final Class < T > type , final Consumer < T > consumer ) { return registerPetiteBean ( type , null , null , null , false , consumer ) ; }
Registers a bean using provided class that is annotated.
Registers a bean using provided class that is annotated .