|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ImportedLibrary
Represents a single entry in a bundle's Import-Library
header.
Method Summary | |
---|---|
java.lang.String |
getLibrarySymbolicName()
Returns the symbolic name of the library that is imported, never null . |
Sharing |
getSharing()
Returns the value of the import's sharing directive. |
void |
setLibrarySymbolicName(java.lang.String librarySymbolicName)
Sets the symbolic name of the library 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 getLibrarySymbolicName()
null
.
void setLibrarySymbolicName(java.lang.String librarySymbolicName) throws java.lang.IllegalArgumentException
librarySymbolicName
- The imported library's symbolic name
java.lang.IllegalArgumentException
- if librarySymbolicName 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 directive
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |