1 package com.atlassian.plugin.spring.scanner.test.jsr;
2
3
4 import com.atlassian.plugin.spring.scanner.test.InternalComponent;
5 import com.atlassian.plugin.spring.scanner.test.InternalComponentTwo;
6
7 import javax.inject.Inject;
8 import javax.inject.Named;
9
10 @SuppressWarnings("UnusedDeclaration")
11 @Named
12 public class JsrComponent {
13
14 private final InternalComponent internalComponent;
15
16
17
18
19 @Inject
20 public JsrComponent(InternalComponent internalComponent) {
21 this.internalComponent = internalComponent;
22 }
23
24 public JsrComponent(InternalComponentTwo otherNonDefaultConstructorThatNeedsDisambiguatingForSpring) {
25 throw new IllegalStateException("The wrong constructor was called!");
26 }
27 }