jodd-madvoc/src/main/java/jodd/madvoc/component/MadvocContainer.java
public void registerComponentInstance(final Object componentInstance) {
		Class component = componentInstance.getClass();
		String name = resolveBaseComponentName(component);
		registerComponentInstance(name, componentInstance);
	}
public void registerComponentInstance(final Object componentInstance) {
		Class component = componentInstance.getClass();
		String name = resolveBaseComponentName(component);
		registerComponentInstance(name, componentInstance);
	}
public void registerComponentInstance ( final Object componentInstance ) { Class component = componentInstance . getClass ( ) ; String name = resolveBaseComponentName ( component ) ; registerComponentInstance ( name , componentInstance ) ; }
Registers component instance using its {@link #resolveBaseComponentName(Class) base name}.
Previously defined component will be removed.

@see #registerComponentInstance(String, Object)
Registers component instance using its { @link #resolveBaseComponentName ( Class ) base name } . Previously defined component will be removed .