Annotation Interface SavableFactory


@Target(TYPE) @Retention(RUNTIME) public @interface SavableFactory
Tells the Savable system to instantiate objects of this type using a specific static method. The method should take no arguments and return a new instance of the annotated class. It is recommended the method be named something indicating use for Savable system.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
     
  • Element Details

    • factoryMethod

      String factoryMethod
      Returns:
      the name of the static method to use to build this class.