org.ops4j.pax.scanner.internal
Class InstallableBundlesImpl

java.lang.Object
  extended by org.ops4j.pax.scanner.internal.InstallableBundlesImpl
All Implemented Interfaces:
java.lang.Iterable<InstallableBundle>, InstallableBundles

public class InstallableBundlesImpl
extends java.lang.Object
implements InstallableBundles


Constructor Summary
InstallableBundlesImpl(java.util.List<InstallableBundle> installables)
          Creates a new installable bundles set.
 
Method Summary
 InstallableBundles install()
          Installs the available bundles.
 java.util.Iterator<InstallableBundle> iterator()
          Returns an iterator over a set of InstallableBundle.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InstallableBundlesImpl

public InstallableBundlesImpl(java.util.List<InstallableBundle> installables)
Creates a new installable bundles set.

Parameters:
installables - installable bundles that makes up the set
Method Detail

iterator

public java.util.Iterator<InstallableBundle> iterator()
Returns an iterator over a set of InstallableBundle.

Specified by:
iterator in interface java.lang.Iterable<InstallableBundle>
Returns:
an Iterator.

install

public InstallableBundles install()
                           throws org.osgi.framework.BundleException
Description copied from interface: InstallableBundles
Installs the available bundles.

Specified by:
install in interface InstallableBundles
Returns:
itself, for fluent api usage
Throws:
org.osgi.framework.BundleException - if an underlying problem occur in the OSGi framework.
See Also:
InstallableBundles.install()


Copyright © 2006-2011 OPS4J - Open Participation Software for Java. All Rights Reserved.