@Override
    @SuppressWarnings("unchecked")
    public <E> Manager<E> managerOf(Class<E> entityClass) {
        
        requireNonNull(entityClass);
        
        @SuppressWarnings("unchecked")
        final Manager<E> manager = (Manager<E>) 
            managersByEntity.get(entityClass);
        
        if (manager == null) {
            throw new SpeedmentException(
                "No manager exists for " + entityClass
            );
        }
        
        return manager;
    }
Default implementation of the {@link ManagerComponent}-interface.

@author Emil Forslund
runtime-parent/runtime-core/src/main/java/com/speedment/runtime/core/internal/component/ManagerComponentImpl.java