Package org.osgi.framework.connect
Interface ConnectModule
-
@ConsumerType public interface ConnectModule
AConnectModuleis used by aFrameworkinstance to access the content of the connected bundle.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ConnectContentgetContent()Returns the current content of this connect module.
-
-
-
Method Detail
-
getContent
ConnectContent getContent() throws java.io.IOException
Returns the current content of this connect module.The framework must call this method when it needs to access the content for the current
bundle revisionof thisConnectModule. The framework may defer opening the returnedConnectContentuntil requests to access the bundle revision content are made.- Returns:
- The current
ConnectContentof thisConnectModule. - Throws:
java.io.IOException- If an error occurred getting the content.- See Also:
ModuleConnector.connect(String)
-
-