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
      java.lang.Class<?>[] classes
      Components that may be constructed by a factory annotated with this annotation.
      java.lang.String[] names  
    • Element Detail

      • classes

        java.lang.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

        java.lang.String[] names
        Default:
        {}