HOOKS ON Package Manager Servlet | Community
Skip to main content
Level 2
October 16, 2015
Solved

HOOKS ON Package Manager Servlet

  • October 16, 2015
  • 2 replies
  • 809 views

 Hi,

As a part of my project we are trying to disable a workflow launcher before a package in installed and then enable the launcher when the installation of the package is done.

And so we need some hooks on the Package Manager Servlet. We tried to detect the request via a sling filter but it did not work. I would be great if some hooks can be provided on the

package manager Servlet.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by joerghoh

Hi,

You can build your own servlet which you can use to upload a package to package manager. Then you have full control over package upload and installation. Lookup the API docs for the service JcrPackageManager.

kind regards,
Jörg

2 replies

joerghoh
Adobe Employee
joerghohAdobe EmployeeAccepted solution
Adobe Employee
October 16, 2015

Hi,

You can build your own servlet which you can use to upload a package to package manager. Then you have full control over package upload and installation. Lookup the API docs for the service JcrPackageManager.

kind regards,
Jörg

tarkashAuthor
Level 2
October 16, 2015

Hi Jörg,

We do not need to customize the package upload/install process. I just need a filter over it. I simply want to do some activity before and after the package install (nothing to be inside the package or its install process).

Any normal filter is not detecting the package manager Servlet request.

Any ways thanks for your reply.