Annotation Type Feature

  • @Target(TYPE)
    public @interface Feature
    Annotation to identify and configure TransferManager extensions.

    Features are extensions for transfer managers, such as path awareness, transaction awareness or retriability. This annotation is used to mark a feature annotation, which in turn corresponds to a FeatureTransferManager.

    Note: This annotation must only be used to annotate feature annotations, i.e. it is an annotation annotation. It must not be used to mark feature transfer managers directly.

    See Also:
    TransferManager, TransferManagerFactory, FeatureTransferManager
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      boolean required
      Specifies whether or not a feature is required.
    • Element Detail

      • required

        boolean required
        Specifies whether or not a feature is required.

        If a feature is required, but the concrete feature annotation is not present at the original transfer manager, the TransferManagerFactory will throw an exception.