diff options
Diffstat (limited to 'bundles/org.eclipse.osgi/osgi/src/org/osgi/framework/Bundle.java')
-rw-r--r-- | bundles/org.eclipse.osgi/osgi/src/org/osgi/framework/Bundle.java | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/bundles/org.eclipse.osgi/osgi/src/org/osgi/framework/Bundle.java b/bundles/org.eclipse.osgi/osgi/src/org/osgi/framework/Bundle.java index 07244666a..5ebb357f8 100644 --- a/bundles/org.eclipse.osgi/osgi/src/org/osgi/framework/Bundle.java +++ b/bundles/org.eclipse.osgi/osgi/src/org/osgi/framework/Bundle.java @@ -1,5 +1,5 @@ /* - * Copyright (c) OSGi Alliance (2000, 2012). All Rights Reserved. + * Copyright (c) OSGi Alliance (2000, 2013). All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -25,6 +25,7 @@ import java.util.Dictionary; import java.util.Enumeration; import java.util.List; import java.util.Map; +import org.osgi.annotation.versioning.ProviderType; import org.osgi.framework.wiring.FrameworkWiring; /** @@ -75,8 +76,9 @@ import org.osgi.framework.wiring.FrameworkWiring; * * @ThreadSafe * @noimplement - * @version $Id$ + * @author $Id$ */ +@ProviderType public interface Bundle extends Comparable<Bundle> { /** * The bundle is uninstalled and may not be used. @@ -279,14 +281,14 @@ public interface Bundle extends Comparable<Bundle> { * before continuing. If this does not occur in a reasonable time, a * {@code BundleException} is thrown to indicate this bundle was unable to * be started.</li> - * <li>If this bundle's state is {@code ACTIVE} then this method returns - * immediately.</li> * <li>If the {@link #START_TRANSIENT} option is not set then set this * bundle's autostart setting to <em>Started with declared activation</em> * if the {@link #START_ACTIVATION_POLICY} option is set or * <em>Started with eager activation</em> if not set. When the Framework is * restarted and this bundle's autostart setting is not <em>Stopped</em>, * this bundle must be automatically started.</li> + * <li>If this bundle's state is {@code ACTIVE} then this method returns + * immediately.</li> * <li>If this bundle's state is not {@code RESOLVED}, an attempt is made to * resolve this bundle. If the Framework cannot resolve this bundle, a * {@code BundleException} is thrown.</li> @@ -318,9 +320,6 @@ public interface Bundle extends Comparable<Bundle> { * <li>A {@code BundleException} is then thrown.</li> * </ul> * </li> - * <li>If this bundle's state is {@code UNINSTALLED}, because this bundle - * was uninstalled while the {@code BundleActivator.start} method was - * running, a {@code BundleException} is thrown.</li> * <li>This bundle's state is set to {@code ACTIVE}.</li> * <li>A bundle event of type {@link BundleEvent#STARTED} is fired.</li> * </ol> |