public class LiferayPackageInstaller
extends java.lang.Object
implements org.osgi.util.tracker.BundleTrackerCustomizer<org.osgi.framework.Bundle>
| Constructor and Description |
|---|
LiferayPackageInstaller(org.osgi.framework.BundleContext bundleContext,
com.liferay.marketplace.service.AppLocalService appLocalService,
com.liferay.marketplace.service.ModuleLocalService moduleLocalService) |
| Modifier and Type | Method and Description |
|---|---|
org.osgi.framework.Bundle |
addingBundle(org.osgi.framework.Bundle bundle,
org.osgi.framework.BundleEvent bundleEvent) |
protected java.util.List<org.osgi.framework.Bundle> |
installArtifacts(java.util.Enumeration<java.net.URL> enumeration,
com.liferay.marketplace.deployer.installer.LiferayPackageInstaller.ArtifactInstaller artifactIntaller) |
void |
modifiedBundle(org.osgi.framework.Bundle bundle,
org.osgi.framework.BundleEvent bundleEvent,
org.osgi.framework.Bundle objectBundle) |
protected void |
registerAppInMarketplace(java.net.URL url) |
void |
removedBundle(org.osgi.framework.Bundle bundle,
org.osgi.framework.BundleEvent bundleEvent,
org.osgi.framework.Bundle objectBundle) |
protected void |
uninstallBundles(java.util.List<org.osgi.framework.Bundle> bundles) |
public LiferayPackageInstaller(org.osgi.framework.BundleContext bundleContext,
com.liferay.marketplace.service.AppLocalService appLocalService,
com.liferay.marketplace.service.ModuleLocalService moduleLocalService)
public org.osgi.framework.Bundle addingBundle(org.osgi.framework.Bundle bundle,
org.osgi.framework.BundleEvent bundleEvent)
addingBundle in interface org.osgi.util.tracker.BundleTrackerCustomizer<org.osgi.framework.Bundle>public void modifiedBundle(org.osgi.framework.Bundle bundle,
org.osgi.framework.BundleEvent bundleEvent,
org.osgi.framework.Bundle objectBundle)
modifiedBundle in interface org.osgi.util.tracker.BundleTrackerCustomizer<org.osgi.framework.Bundle>public void removedBundle(org.osgi.framework.Bundle bundle,
org.osgi.framework.BundleEvent bundleEvent,
org.osgi.framework.Bundle objectBundle)
removedBundle in interface org.osgi.util.tracker.BundleTrackerCustomizer<org.osgi.framework.Bundle>protected java.util.List<org.osgi.framework.Bundle> installArtifacts(java.util.Enumeration<java.net.URL> enumeration,
com.liferay.marketplace.deployer.installer.LiferayPackageInstaller.ArtifactInstaller artifactIntaller)
throws java.lang.Exception
java.lang.Exceptionprotected void registerAppInMarketplace(java.net.URL url)
throws java.io.IOException,
com.liferay.portal.kernel.exception.PortalException
java.io.IOExceptioncom.liferay.portal.kernel.exception.PortalExceptionprotected void uninstallBundles(java.util.List<org.osgi.framework.Bundle> bundles)