package org.eclipse.smarthome.core.thing;

import org.osgi.framework.Bundle;

public interface BundleProcessor {

    public Bundle isFinishedLoading(Object objectFromBundle);

    public void registerListener(BundleProcessorListener listener);

    public void unregisterListener(BundleProcessorListener listener);

    public interface BundleProcessorListener {

        public void bundleFinished(BundleProcessor context, Bundle bundle);

    }

}

@@ -103,24 +103,269 @@
 rocessor %7B%0A%0A
+    /**%0A     * Check if the loading is finished.%0A     *%0A     * @param objectFromBundle an object that identifies the bundle the request is for%0A     * @return null if the loading is finished, a bundle reference if loading is not finished%0A     */%0A
     public B

add documentation for isFinishedLoading (#1635)