Package org.osgi.framework.connect
Interface ConnectModule
@ConsumerType
public interface ConnectModule
A
ConnectModule
is used by a Framework
instance to access the
content of the connected bundle.-
Method Summary
Modifier and TypeMethodDescriptionReturns the current content of this connect module.
-
Method Details
-
getContent
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:
IOException
- If an error occurred getting the content.- See Also:
-