On Thu, Aug 26, 2010 at 3:34 PM, Alexander Klimetschek <[email protected]> wrote:
> On Thu, Aug 26, 2010 at 14:47, Felix Meschberger <[email protected]> wrote:
>> ...As such I am currently opposed to exporting the internal operations.
>
> Then making all of them services (1) is the way to go...

I'm +1 on this, being able to reuse operations in custom servlets is
useful, and I don't see a downside.

>... - ModifyOperation requires objects passed in its constructor
> + NodeNameGenerator and DateParser:
> their configuration should be moved from the SlingPostServlet component to
> the new ModifyOperation component (only used there anyway)...

ok

> + ServletContext:
> required "only" for getting the mime types configured in the servlet engine,
> to be used for file uploads; not sure how to solve that (*)

You could use the Sling MimeTypeService I guess.

-Bertrand

Reply via email to