public ComponentClassResolver buildComponentClassResolver(
Collection<LibraryMapping> configuration)
{
ComponentClassResolverImpl service = new ComponentClassResolverImpl(
_componentInstantiatorSource, new ComponentClassLocatorImpl(), configuration);
// Allow the resolver to clean its cache when the source is invalidated
_componentInstantiatorSource.addInvalidationListener(service);