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)
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      Class<?>[] classes
      Components that may be constructed by a factory annotated with this annotation.
    • 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