@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 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
.IOException
- If an error occurred getting the content.ModuleConnector.connect(String)
Copyright © 2006–2021 The Apache Software Foundation. All rights reserved.