Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

When new metadata needs to be provided by the RuntimeContext,  the corresponding getter methods should be added in the RuntimeContext interface. However,  there are 12 implementation classes for the RuntimeContext there are 12 implementation classes for the RuntimeContext interface. This means that every time a method is added to the RuntimeContext interface, the 12 implementation classes also need to add the corresponding overrided methods. This design results in extra code modification costs when providing more metadata inRuntimeContext. Similar issues exist in other context-like APIs as well.

...