View Javadoc
1   package com.atlassian.plugin.spring.scanner.test.exported;
2   
3   import com.atlassian.plugin.spring.scanner.annotation.export.ExportAsService;
4   import com.atlassian.plugin.spring.scanner.test.imported.ConsumingMixedComponents;
5   import org.springframework.beans.factory.annotation.Autowired;
6   import org.springframework.stereotype.Component;
7   
8   @ExportAsService
9   @Component
10  public class ExposedAsAServiceComponent implements ExposedAsAServiceComponentInterface {
11      private final ConsumingMixedComponents consumingMixedComponents;
12  
13      @Autowired
14      public ExposedAsAServiceComponent(final ConsumingMixedComponents consumingMixedComponents) {
15          this.consumingMixedComponents = consumingMixedComponents;
16      }
17  
18      @Override
19      public void doStuff() {
20          throw new UnsupportedOperationException("Not implemented");
21      }
22  }