View Javadoc
1   package com.atlassian.plugin.spring.scanner.annotation.component;
2   
3   import org.springframework.stereotype.Component;
4   
5   import java.lang.annotation.ElementType;
6   import java.lang.annotation.Retention;
7   import java.lang.annotation.RetentionPolicy;
8   import java.lang.annotation.Target;
9   
10  /**
11   * Annotation for constructor args or fields representing components that need to live in the local bean container
12   * but are located in external jars on this bundle's classpath.
13   */
14  @Target({ElementType.PARAMETER, ElementType.FIELD})
15  @Retention(RetentionPolicy.RUNTIME)
16  @Component
17  public @interface ClasspathComponent {
18      String value() default "";
19  }