Versions Compared

Key

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

...

You may wonder how does it work then? Basically, Slice hides use of Java Use-API and creates adapter factory for every class annotated by @SliceResource. The adapter factory is able to adapt a resource to your model - it uses standard ModelProvider to get an model from provided resource.

...