Class FileAcquirerBundleInstaller

  • All Implemented Interfaces:
    BundleInstaller

    public class FileAcquirerBundleInstaller
    extends java.lang.Object
    implements BundleInstaller
    Author:
    gjoranv
    • Constructor Summary

      Constructors 
      Constructor Description
      FileAcquirerBundleInstaller​(com.yahoo.filedistribution.fileacquirer.FileAcquirer fileAcquirer)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<org.osgi.framework.Bundle> installBundles​(com.yahoo.config.FileReference reference, Osgi osgi)
      Installs the bundle with the given file reference, plus all bundles in its X-JDisc-Preinstall-Bundle directive.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FileAcquirerBundleInstaller

        public FileAcquirerBundleInstaller​(com.yahoo.filedistribution.fileacquirer.FileAcquirer fileAcquirer)
    • Method Detail

      • installBundles

        public java.util.List<org.osgi.framework.Bundle> installBundles​(com.yahoo.config.FileReference reference,
                                                                        Osgi osgi)
                                                                 throws java.lang.InterruptedException
        Description copied from interface: BundleInstaller
        Installs the bundle with the given file reference, plus all bundles in its X-JDisc-Preinstall-Bundle directive. Returns all bundles installed to the given OSGi framework as a result of this call.
        Specified by:
        installBundles in interface BundleInstaller
        Throws:
        java.lang.InterruptedException