|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface BundleSymbolicName
Represents a bundle's Bundle-SymbolicName header.
| Nested Class Summary | |
|---|---|
static class |
BundleSymbolicName.FragmentAttachment
An enumeration of the legal values for a bundle symbolic name's fragment-attachment directive. |
| Method Summary | |
|---|---|
BundleSymbolicName.FragmentAttachment |
getFragmentAttachment()
Returns value of the fragment-attachment directive. |
java.lang.String |
getSymbolicName()
Returns the header's symbolic name, or null if no symbolic name is specified. |
boolean |
isSingleton()
Returns the value of the singleton directive. |
void |
setFragmentAttachment(BundleSymbolicName.FragmentAttachment fragmentAttachment)
Sets the value of the fragment-attachment directive. |
void |
setSingleton(boolean singleton)
Sets the value of the singleton directive. |
void |
setSymbolicName(java.lang.String symbolicName)
Sets the header's symbolic name |
| 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 getSymbolicName()
null if no symbolic name is specified.
void setSymbolicName(java.lang.String symbolicName)
symbolicName - the symbolic nameboolean isSingleton()
singleton directive. Returns the default value of false if no
singleton directive is specified.
void setSingleton(boolean singleton)
singleton directive.
singleton - the singleton directive's valueBundleSymbolicName.FragmentAttachment getFragmentAttachment()
fragment-attachment directive. Returns the default value of ALWAYS
if no fragment-attachment directive is specified.
fragment-attachment directivevoid setFragmentAttachment(BundleSymbolicName.FragmentAttachment fragmentAttachment)
fragment-attachment directive.
fragmentAttachment - the fragment-attachment directive's value
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||