Package com.liferay.portal.lpkg.deployer
Interface LPKGDeployer
public interface LPKGDeployer
-
Method Summary
Modifier and TypeMethodDescriptionList<org.osgi.framework.Bundle>Deploys the LPKG file.Returns the deployed LPKG bundles together with their app bundles.
-
Method Details
-
deploy
List<org.osgi.framework.Bundle> deploy(org.osgi.framework.BundleContext bundleContext, File lpkgFile) throws IOException Deploys the LPKG file. This method returns the list of bundles in the LPKG file, which includes the LPKG bundle and all its app bundles (if any exist). For example, if the LPKG file included four app bundles, then five bundles are returned (i.e. one LPKG bundle and four app bundles).- Parameters:
bundleContext- the context used to install the bundle into the OSGi containerlpkgFile- the LPKG file to deploy- Returns:
- the LPKG file bundle and its included app bundles
- Throws:
IOException- if an IO failure during installation occurred
-
getDeployedLPKGBundles
Returns the deployed LPKG bundles together with their app bundles.- Returns:
- the map of bundles with the LPKG bundle as the key and the LPKG's app bundle list as the value
-
toBundle
- Throws:
IOException
-