Versions Compared

Key

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

...

Alternatively name the servlet in the endpoint

If we give each servlet / DestinationRegistry a name then we could refer to this name in the endpoint. So the user could choose, which servlet to wire to. The DestinationRegistry could be exported in OSGi as a Service with the name in a property. In the endpoint we could e.g. use the following uri syntax: servlet:servletname/path. The endpoint would then be published to the DestinationRegistry with the given name.

...