diff options
Diffstat (limited to 'archiva-modules/archiva-base/archiva-repository-admin')
1 files changed, 6 insertions, 7 deletions
diff --git a/archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-default/src/main/java/org/apache/archiva/admin/repository/runtime/DefaultRedbackRuntimeConfigurationAdmin.java b/archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-default/src/main/java/org/apache/archiva/admin/repository/runtime/DefaultRedbackRuntimeConfigurationAdmin.java index 677517898..9e8331085 100644 --- a/archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-default/src/main/java/org/apache/archiva/admin/repository/runtime/DefaultRedbackRuntimeConfigurationAdmin.java +++ b/archiva-modules/archiva-base/archiva-repository-admin/archiva-repository-admin-default/src/main/java/org/apache/archiva/admin/repository/runtime/DefaultRedbackRuntimeConfigurationAdmin.java @@ -52,7 +52,7 @@ import java.util.Set; * @author Olivier Lamy * @since 1.4-M4 */ -@Service("redbackRuntimeConfigurationAdmin#default") +@Service( "redbackRuntimeConfigurationAdmin#default" ) public class DefaultRedbackRuntimeConfigurationAdmin extends AbstractRepositoryAdmin implements RedbackRuntimeConfigurationAdmin, UserConfiguration @@ -60,21 +60,20 @@ public class DefaultRedbackRuntimeConfigurationAdmin protected Logger log = LoggerFactory.getLogger( getClass() ); - @Inject private ArchivaConfiguration archivaConfiguration; - @Inject - @Named(value = "userConfiguration#redback") private UserConfiguration userConfiguration; - @Inject - @Named(value = "cache#users") private Cache usersCache; @Inject - public DefaultRedbackRuntimeConfigurationAdmin( ArchivaConfiguration archivaConfiguration ) + public DefaultRedbackRuntimeConfigurationAdmin( ArchivaConfiguration archivaConfiguration, @Named( + value = "userConfiguration#redback" ) UserConfiguration userConfiguration, + @Named( value = "cache#users" ) Cache usersCache ) { this.archivaConfiguration = archivaConfiguration; + this.userConfiguration = userConfiguration; + this.usersCache = usersCache; } @PostConstruct |