1 package com.atlassian.plugin.spring.scanner.test.notscanned;
2
3 import com.atlassian.plugin.spring.scanner.annotation.component.ClasspathComponent;
4 import com.atlassian.plugin.spring.scanner.annotation.imports.ComponentImport;
5 import com.atlassian.plugin.spring.scanner.external.notannotated.NotAnnotatedExternalJarClass;
6 import com.atlassian.plugin.spring.scanner.test.otherplugin.ServiceTwoExportedFromAnotherPlugin;
7
8
9
10
11 @SuppressWarnings({"FieldCanBeLocal", "UnusedDeclaration"})
12 public class NotAnnotatedAsAComponent {
13 private final ServiceTwoExportedFromAnotherPlugin serviceTwo;
14 private final NotAnnotatedExternalJarClass classpathComponent;
15
16 public NotAnnotatedAsAComponent(@ComponentImport ServiceTwoExportedFromAnotherPlugin serviceTwo,
17 @ClasspathComponent NotAnnotatedExternalJarClass classpathComponent) {
18 this.serviceTwo = serviceTwo;
19 this.classpathComponent = classpathComponent;
20 }
21 }