|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ImportedBundle
Represents a single entry in a bundle's Import-Bundle
header.
Method Summary | |
---|---|
java.lang.String |
getBundleSymbolicName()
Returns the symbolic name of the bundle that is imported, never null . |
Sharing |
getSharing()
Returns the value of the import's sharing directive. |
boolean |
isApplicationImportScope()
Returns true if the import's import-scope directive is present and has
a value of application , otherwise false is returned. |
void |
setApplicationImportScope(boolean applicationImportScope)
Sets the import-scope directive |
void |
setBundleSymbolicName(java.lang.String bundleSymbolicName)
Sets the symbolic name of the bundle that is imported |
void |
setSharing(Sharing sharing)
Sets the value of the import's sharing directive. |
Methods inherited from interface com.springsource.util.osgi.manifest.Imported |
---|
getResolution, getVersion, setResolution, setVersion |
Methods inherited from interface com.springsource.util.osgi.manifest.Parameterised |
---|
getAttributes, getDirectives |
Methods inherited from interface com.springsource.util.osgi.manifest.Parseable |
---|
resetFromParseString, toParseString |
Method Detail |
---|
java.lang.String getBundleSymbolicName()
null
.
void setBundleSymbolicName(java.lang.String bundleSymbolicName) throws java.lang.IllegalArgumentException
bundleSymbolicName
- the imported bundle's symbolic name
java.lang.IllegalArgumentException
- if the supplied bundleSymbolicName is null
Sharing getSharing()
sharing
directive. If no such directive is specified the
default value of Sharing.AUTOMATIC
is returned.
void setSharing(Sharing sharing)
sharing
directive.
sharing
- the value of the import's sharing directiveboolean isApplicationImportScope()
true
if the import's import-scope
directive is present and has
a value of application
, otherwise false
is returned.
true
if and only if the import-scope directive has a value of applicationvoid setApplicationImportScope(boolean applicationImportScope)
import-scope
directive
applicationImportScope
- Whether or not the import's scope is application
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |