jodd-madvoc/src/main/java/jodd/madvoc/component/MadvocContainer.java
public <T> T requestComponent(final Class<T> component) {
		T existingComponent = lookupComponent(component);
		if (existingComponent == null) {
			throw new MadvocException("Madvoc component not found: " + component.getName());
		}
		return existingComponent;
	}
public <T> T requestComponent(final Class<T> component) {
		T existingComponent = lookupComponent(component);
		if (existingComponent == null) {
			throw new MadvocException("Madvoc component not found: " + component.getName());
		}
		return existingComponent;
	}
public < T > T requestComponent ( final Class < T > component ) { T existingComponent = lookupComponent ( component ) ; if ( existingComponent == null ) { throw new MadvocException ( "Madvoc component not found: " + component . getName ( ) ) ; } return existingComponent ; }
Returns existing component. Throws an exception if component is not registered.
Returns existing component . Throws an exception if component is not registered .