com.atlassian.plugin.osgi.container
Interface OsgiContainerManager.AllowsReferenceInstall

All Known Implementing Classes:
FelixOsgiContainerManager
Enclosing interface:
OsgiContainerManager

public static interface OsgiContainerManager.AllowsReferenceInstall

Additional interface for implementations which support reference installation.


Nested Class Summary
static class OsgiContainerManager.AllowsReferenceInstall.Default
          Host class for a static installBundle(OsgiContainerManager, File, boolean) which defaults to OsgiContainerManager.install(File, false).
 
Method Summary
 org.osgi.framework.Bundle installBundle(java.io.File file, boolean allowReference)
          Installs a bundle into a running OSGI container.
 

Method Detail

installBundle

org.osgi.framework.Bundle installBundle(java.io.File file,
                                        boolean allowReference)
                                        throws OsgiContainerException
Installs a bundle into a running OSGI container.

Parameters:
file - The bundle file to install.
allowReference - true iff the file need not be copied, and the container may install a reference to it.
Returns:
The installed bundle.
Throws:
OsgiContainerException - If the bundle cannot be loaded


Copyright © 2013 Atlassian. All Rights Reserved.