diff options
author | Olivier Lamy <olamy@apache.org> | 2015-10-01 15:39:41 +1000 |
---|---|---|
committer | Olivier Lamy <olamy@apache.org> | 2015-10-01 15:39:41 +1000 |
commit | 87ff9f5d3dc1ca0b921764a9412dcbdc8776f466 (patch) | |
tree | 2841674f1f91cf77eed307e515de9a01dbb66642 /archiva-modules/metadata | |
parent | 56f8b575d44045d6be9960e8608946a05eaea98b (diff) | |
download | archiva-87ff9f5d3dc1ca0b921764a9412dcbdc8776f466.tar.gz archiva-87ff9f5d3dc1ca0b921764a9412dcbdc8776f466.zip |
more usage of MockRepositorySessionFactory
Diffstat (limited to 'archiva-modules/metadata')
-rw-r--r-- | archiva-modules/metadata/metadata-repository-api/src/main/java/org/apache/archiva/metadata/repository/RepositorySessionFactoryBean.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/archiva-modules/metadata/metadata-repository-api/src/main/java/org/apache/archiva/metadata/repository/RepositorySessionFactoryBean.java b/archiva-modules/metadata/metadata-repository-api/src/main/java/org/apache/archiva/metadata/repository/RepositorySessionFactoryBean.java index 5a5c4857f..3312a3cfb 100644 --- a/archiva-modules/metadata/metadata-repository-api/src/main/java/org/apache/archiva/metadata/repository/RepositorySessionFactoryBean.java +++ b/archiva-modules/metadata/metadata-repository-api/src/main/java/org/apache/archiva/metadata/repository/RepositorySessionFactoryBean.java @@ -22,7 +22,6 @@ package org.apache.archiva.metadata.repository; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.config.AbstractFactoryBean; -import org.springframework.stereotype.Service; import java.util.Properties; @@ -30,7 +29,6 @@ import java.util.Properties; * @author Olivier Lamy * @since 2.0.2 */ -//@Service("repositorySessionFactoryBean#default") public class RepositorySessionFactoryBean extends AbstractFactoryBean<RepositorySessionFactory> { @@ -67,7 +65,9 @@ public class RepositorySessionFactoryBean { RepositorySessionFactory repositorySessionFactory = getBeanFactory().getBean( "repositorySessionFactory#" + id, RepositorySessionFactory.class ); - logger.info( "create RepositorySessionFactory instance of {}", repositorySessionFactory.getClass().getName() ); + logger.info( "create RepositorySessionFactory with id {} instance of {}", // + id, // + repositorySessionFactory.getClass().getName() ); return repositorySessionFactory; } |