Package restx.factory
Annotation Interface Alternative
public @interface Alternative
Marks a class as an alternative implementation, to be used under certain conditions only.
The
Name used for the alternative is composed by:
- The class defined by to()
- The name defined by named() if defined, or the name of the component referenced by to() if one is defined,
or the simple name of the class defined by to().-
Required Element Summary
Required Elements -
Optional Element Summary
Optional Elements