try {
Class compType = getComponentClassLoader().loadClass(componentType);
Object componentInstance = picoContainer.getComponentInstanceOfType(compType);
return componentInstance;
} catch (ClassNotFoundException e) {
throw new NanoContainerMarkupException("Can't resolve class as type '" + componentType + "'");
}
}