Package org.osgi.framework.connect
Interface ConnectModule
-
@ConsumerType public interface ConnectModule
AConnectModule
is used by aFramework
instance to access the content of the connected bundle.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ConnectContent
getContent()
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 revision
of thisConnectModule
. The framework may defer opening the returnedConnectContent
until requests to access the bundle revision content are made.- Returns:
- The current
ConnectContent
of thisConnectModule
. - Throws:
java.io.IOException
- If an error occurred getting the content.- See Also:
ModuleConnector.connect(String)
-
-