Class PackageServlet.ServiceOperation
- java.lang.Object
-
- com.composum.sling.core.pckgmgr.jcrpckg.PackageServlet.InstallOperation
-
- com.composum.sling.core.pckgmgr.jcrpckg.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()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
doIt(org.apache.sling.api.SlingHttpServletRequest request, org.apache.sling.api.SlingHttpServletResponse response, com.composum.sling.core.ResourceHandle resource)
protected void
installationDone(org.apache.sling.api.SlingHttpServletRequest request, 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)
-
Methods inherited from class com.composum.sling.core.pckgmgr.jcrpckg.PackageServlet.InstallOperation
installPackage
-
-
-
-
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 interfacecom.composum.sling.core.servlet.ServletOperation
- Overrides:
doIt
in classPackageServlet.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 classPackageServlet.InstallOperation
- Throws:
javax.jcr.RepositoryException
IOException
-
-