Annotation Interface DataSinkBinding


@Retention(RUNTIME) @Target(TYPE) public @interface DataSinkBinding
The DataSinkBinding annotation is used to specify the DataSink for a particular type of PersistentData.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    boolean
    Indicates whether reflection can be used for creating instances of the DataSink class returned from value().
    Class<? extends DataSink<?>>
    Returns the class object representing the DataSink class.
  • Element Details

    • value

      Class<? extends DataSink<?>> value
      Returns the class object representing the DataSink class.
      Returns:
      the class object representing the data sink class
    • reflectionPossible

      boolean reflectionPossible
      Indicates whether reflection can be used for creating instances of the DataSink class returned from value().
      Returns:
      true if reflection is possible, false otherwise