|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface FragmentHost
| Nested Class Summary | |
|---|---|
static class |
FragmentHost.Extension
Enumeration of the valid values for the header's extension directive
that applies when a fragment attaches to the system bundle. |
| Method Summary | |
|---|---|
java.lang.String |
getBundleSymbolicName()
Returns the bundle symbolic name specified in the header, or null if no Fragment-Host is specified. |
VersionRange |
getBundleVersion()
Returns the value of the header's bundle-version attribute. |
FragmentHost.Extension |
getExtension()
Returns the value of the header's extension directive, or null if no such directive is specified. |
void |
setBundleSymbolicName(java.lang.String hostName)
Set the bundle symbolic name in the header |
void |
setBundleVersion(VersionRange versionRange)
Sets the value of the header's bundle-version directive. |
void |
setExtension(FragmentHost.Extension extension)
Set the value of the header's extension directive. |
| 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 if no Fragment-Host is specified.
void setBundleSymbolicName(java.lang.String hostName)
hostName - the bundle symbolic name of the fragment's hostFragmentHost.Extension getExtension()
extension directive, or null if no such directive is specified.
void setExtension(FragmentHost.Extension extension)
extension directive.
extension - the value for the extension directiveVersionRange getBundleVersion()
bundle-version attribute. If no such attribute is specified, returns the
default version range of [0, infinity).
bundle-version attribute.void setBundleVersion(VersionRange versionRange)
bundle-version directive.
versionRange - the value for the bundle-version directive.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||