|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ExportedPackage
Represents a single entry in a bundle's Export-Package
header.
Method Summary | |
---|---|
java.util.List<java.lang.String> |
getExclude()
Returns a list of the class names specified in the export's exclude directive. |
java.util.List<java.lang.String> |
getInclude()
Returns a list of the class names specified in the export's include directive. |
java.util.List<java.lang.String> |
getMandatory()
Returns a list of the attribute names specified in the export's mandatory directive. |
java.lang.String |
getPackageName()
Returns the name of the exported package, never null . |
java.util.List<java.lang.String> |
getUses()
Returns a List of the package names specified in the export's uses directive. |
org.osgi.framework.Version |
getVersion()
Returns the version of the exported package. |
void |
setPackageName(java.lang.String packageName)
Sets the name of the exported package. |
void |
setVersion(org.osgi.framework.Version version)
Sets the version of the exported package |
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 getPackageName()
null
.
void setPackageName(java.lang.String packageName) throws java.lang.IllegalArgumentException
packageName
- the package name
java.lang.IllegalArgumentException
- if the given package name is null
org.osgi.framework.Version getVersion()
void setVersion(org.osgi.framework.Version version)
version
- The exported package's versionjava.util.List<java.lang.String> getUses()
List
of the package names specified in the export's uses
directive. Returns
an empty list if the export has no uses directive.
java.util.List<java.lang.String> getMandatory()
mandatory
directive.
java.util.List<java.lang.String> getInclude()
include
directive. Returns an empty list
if the export has no include
directive.
java.util.List<java.lang.String> getExclude()
exclude
directive. Returns an empty list
if the export has no exclude
directive.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |