< prev index next >

src/jdk.jpackage/share/classes/jdk/jpackage/internal/Bundlers.java

Print this page




  84 
  85     /**
  86      * Returns all of the preconfigured, requested, and manually
  87      * configured bundlers loaded with this instance.
  88      *
  89      * @return  a read-only collection of the requested bundlers
  90      */
  91     Collection<Bundler> getBundlers();
  92 
  93     /**
  94      * Returns all of the preconfigured, requested, and manually
  95      * configured bundlers loaded with this instance that are of
  96      * a specific BundleType, such as disk images, installers, or
  97      * remote installers.
  98      *
  99      * @return a read-only collection of the requested bundlers
 100      */
 101     Collection<Bundler> getBundlers(String type);
 102 
 103     /**
 104      * Loads the bundlers common to the JDK.  A typical implementation
 105      * would load:
 106      * <UL>
 107      *     <LI>Windows file image</LI>
 108      *     <LI>Mac .app</LI>
 109      *     <LI>Linux file image</LI>
 110 
 111      *     <LI>Windows MSI</LI>
 112      *     <LI>Windows EXE</LI>
 113      *     <LI>Mac DMG</LI>
 114      *     <LI>Mac PKG</LI>
 115      *     <LI>Linux DEB</LI>
 116      *     <LI>Linux RPM</LI>
 117      *
 118      * </UL>
 119      *
 120      * This method is called from the
 121      * {@link #createBundlersInstance(ClassLoader)}
 122      * and {@link #createBundlersInstance()} methods.
 123      * NOTE: Because of the module system this method is now not used.
 124      */
 125     void loadDefaultBundlers();
 126 
 127     /**
 128      * Loads bundlers from the META-INF/services directly.
 129      *
 130      * This method is called from the
 131      * {@link #createBundlersInstance(ClassLoader)}
 132      * and {@link #createBundlersInstance()} methods.
 133      */
 134     void loadBundlersFromServices(ClassLoader cl);
 135 
 136     /**
 137      * Loads a specific bundler into the set of bundlers.
 138      * Useful for a manually configured bundler.
 139      *
 140      * @param bundler the specific bundler to add
 141      */
 142     void loadBundler(Bundler bundler);
 143 }


  84 
  85     /**
  86      * Returns all of the preconfigured, requested, and manually
  87      * configured bundlers loaded with this instance.
  88      *
  89      * @return  a read-only collection of the requested bundlers
  90      */
  91     Collection<Bundler> getBundlers();
  92 
  93     /**
  94      * Returns all of the preconfigured, requested, and manually
  95      * configured bundlers loaded with this instance that are of
  96      * a specific BundleType, such as disk images, installers, or
  97      * remote installers.
  98      *
  99      * @return a read-only collection of the requested bundlers
 100      */
 101     Collection<Bundler> getBundlers(String type);
 102 
 103     /**
























 104      * Loads bundlers from the META-INF/services directly.
 105      *
 106      * This method is called from the
 107      * {@link #createBundlersInstance(ClassLoader)}
 108      * and {@link #createBundlersInstance()} methods.
 109      */
 110     void loadBundlersFromServices(ClassLoader cl);
 111 







 112 }
< prev index next >