[
https://issues.apache.org/jira/browse/SLING-1725?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12906052#action_12906052
]
Felix Meschberger commented on SLING-1725:
------------------------------------------
I don't want to add the new method to the old interface, because this would
mean that an implementation of the interface is forced to implement two
methods: the new one, which is probably desired, and the old one, which is just
adding code.
The only option we could discuss as an alternative to adding a new interface is
to modify the signature of the existing interface. This would introduce an
incompatible change, though, and would require use to increase the major
version number of the exported package. Not a big problem, probably, but we
should be aware. In fact this would enable use really clean up and drop support
for the "old" API altogether.
> Register internal post operations as services for consumption by servlets
> other than the SlingPostServlet
> ---------------------------------------------------------------------------------------------------------
>
> Key: SLING-1725
> URL: https://issues.apache.org/jira/browse/SLING-1725
> Project: Sling
> Issue Type: Improvement
> Components: Servlets
> Affects Versions: Servlets Post 2.0.4
> Reporter: Felix Meschberger
> Assignee: Felix Meschberger
> Fix For: Servlets Post 2.1.0
>
> Attachments: SLING-1725.patch
>
>
> As discussed in [1] it would be useful to have the internal operations of the
> Sling POST Servlet available as services for other bundles to reuse.
> [1] http://markmail.org/message/a7vrtyhictf7tv4m
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.