Class PackageServlet.ServiceOperation

  • All Implemented Interfaces:
    com.composum.sling.core.servlet.ServletOperation
    Enclosing class:
    PackageServlet

    protected class PackageServlet.ServiceOperation
    extends PackageServlet.InstallOperation
    The 'service' implementation based on the behaviour of the 'service' servlet provided by the CRX Package Manager.
    targetURL
    http://${sling.host}:${sling.port}${sling.context}/bin/cpm/package.service.html
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected ServiceOperation()  
    • Constructor Detail

      • ServiceOperation

        protected ServiceOperation()
    • Method Detail

      • doIt

        public void doIt​(@Nonnull
                         org.apache.sling.api.SlingHttpServletRequest request,
                         @Nonnull
                         org.apache.sling.api.SlingHttpServletResponse response,
                         com.composum.sling.core.ResourceHandle resource)
                  throws javax.jcr.RepositoryException,
                         IOException
        Specified by:
        doIt in interface com.composum.sling.core.servlet.ServletOperation
        Overrides:
        doIt in class PackageServlet.InstallOperation
        Throws:
        javax.jcr.RepositoryException
        IOException
      • installationDone

        protected void installationDone​(@Nonnull
                                        org.apache.sling.api.SlingHttpServletRequest request,
                                        @Nonnull
                                        org.apache.sling.api.SlingHttpServletResponse response,
                                        org.apache.jackrabbit.vault.packaging.JcrPackageManager manager,
                                        org.apache.jackrabbit.vault.packaging.JcrPackage jcrPackage,
                                        com.composum.sling.core.concurrent.JobMonitor jobMonitor)
                                 throws javax.jcr.RepositoryException,
                                        IOException
        Overrides:
        installationDone in class PackageServlet.InstallOperation
        Throws:
        javax.jcr.RepositoryException
        IOException