Annotation Type DefaultFactoryFor


  • @Target(TYPE)
    @Retention(RUNTIME)
    public @interface DefaultFactoryFor
    An annotation that is used internally, for defining a DEFAULT factory to be used when constructing components. This annotation allows you to define which components can be constructed by the annotated factory.
    Since:
    4.0
    Author:
    Manik Surtani (manik@jboss.org)
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      Class<?>[] classes
      Components that may be constructed by a factory annotated with this annotation.
      String[] names  
    • Element Detail

      • classes

        Class<?>[] classes
        Components that may be constructed by a factory annotated with this annotation.
        Returns:
        classes that can be constructed by this factory
        Default:
        {}
      • names

        String[] names
        Default:
        {}