View Javadoc
1   package com.atlassian.plugin.spring.scanner.annotation;
2   
3   import java.lang.annotation.ElementType;
4   import java.lang.annotation.Retention;
5   import java.lang.annotation.RetentionPolicy;
6   import java.lang.annotation.Target;
7   
8   /**
9    * Annotation for a type that indicates what profiles it belongs to
10   */
11  @Target({ElementType.TYPE, ElementType.PACKAGE})
12  @Retention(RetentionPolicy.RUNTIME)
13  public @interface Profile {
14      /**
15       * The set of profiles for which this component should be registered.
16       */
17      String[] value() default "default";
18  }