@ConsumerType
public interface ConnectModule
ConnectModule is used by a Framework instance to access the
content of the connected bundle.| Modifier and Type | Method and Description |
|---|---|
ConnectContent |
getContent()
Returns the current content of this connect module.
|
ConnectContent getContent() throws java.io.IOException
The framework must call this method when it needs to access the content
for the current bundle revision of this
ConnectModule. The framework may defer opening the returned
ConnectContent until requests to access the bundle revision
content are made.
ConnectContent of this ConnectModule.java.io.IOException - If an error occurred getting the content.ModuleConnector.connect(String)Copyright © OSGi Alliance (2000, 2020). All Rights Reserved. Licensed under the OSGi Specification License, Version 2.0