1 package net.sourceforge.sannotations.annotation; 2 3 import java.lang.annotation.Documented; 4 import java.lang.annotation.ElementType; 5 import java.lang.annotation.Retention; 6 import java.lang.annotation.RetentionPolicy; 7 import java.lang.annotation.Target; 8 9 /*** 10 * annotation used to register aliases for beans defined by the {@link Bean} annotation, the aliases registered will be the value of this annotation 11 * @author Urubatan 12 */ 13 @Retention(RetentionPolicy.RUNTIME) 14 @Target( { ElementType.TYPE }) 15 @Documented 16 public @interface Alias { 17 String[] value(); 18 }