|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RequireBundle
Represents the Require-Bundle
header in a BundleManifest
.
Concurrent Semantics
May not be thread-safe.
Method Summary | |
---|---|
RequiredBundle |
addRequiredBundle(java.lang.String requiredBundle)
Adds a required bundle with the supplied bundle symbolic name to this Require-Bundle header. |
java.util.List<RequiredBundle> |
getRequiredBundles()
Returns a List of the bundles that are required. |
Methods inherited from interface com.springsource.util.osgi.manifest.Parseable |
---|
resetFromParseString, toParseString |
Method Detail |
---|
java.util.List<RequiredBundle> getRequiredBundles()
List
of the bundles that are required. Returns an empty List
if no bundles
are required.
RequiredBundle addRequiredBundle(java.lang.String requiredBundle)
Require-Bundle
header.
If there is already a required bundle with the given symbolic name, a duplicate is added and the resultant
manifest will not conform to the OSGi specification. This behaviour may change: see issue DMS-548.
requiredBundle
- the symbolic name of the required bundle
RequiredBundle
.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |