class DBRepositoryManager implements RepositoryManager {

    @Override
    public final RepoPackage saveRepoPackage(final RepoPackage repoPackage) {
        if (!repoPackage.isMeasured()) {
            throw new IllegalArgumentException("Cannot persist an unmeasured RepoPackage.");
        }

        return repoPackageDBManager.save(repoPackage);
    }

    public  DBRepositoryManager(final SessionFactory sessionFactory);

}