Annotation Type Typed


  • @Target(TYPE)
    @Retention(RUNTIME)
    @Documented
    public @interface Typed
    Restricts the visible types of a bean:

     @Named
     @Typed( Widget.class, Service.class )
     public class PrinterWidget
         extends AbstractWidget
         implements Service
     {
         //
     }
     
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      java.lang.Class<?>[] value  
    • Element Detail

      • value

        java.lang.Class<?>[] value
        Default:
        {}