|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface OSGiMetaData
OSGi specific meta data.
| Field Summary | |
|---|---|
static String |
ANONYMOUS_BUNDLE_SYMBOLIC_NAME
The fallback Constants#BUNDLE_SYMBOLICNAME for a v4.1 bundle |
| Method Summary | |
|---|---|
ActivationPolicyMetaData |
getBundleActivationPolicy()
Get bundle activation policy. |
String |
getBundleActivator()
Get bundle activator class name. |
List<String> |
getBundleCategory()
Get the bundle category |
List<String> |
getBundleClassPath()
Get the bundle classpath |
String |
getBundleDescription()
Get the description |
String |
getBundleLocalization()
Get the localization's location |
int |
getBundleManifestVersion()
Get the bundle manifest version |
String |
getBundleName()
Get the name |
List<ParameterizedAttribute> |
getBundleNativeCode()
Get native code libs |
ParameterizedAttribute |
getBundleParameters()
Get the bundle parameters |
String |
getBundleSymbolicName()
Get bundle symbolic name. |
URL |
getBundleUpdateLocation()
Get the update url. |
org.osgi.framework.Version |
getBundleVersion()
Get bundle's version. |
List<PackageAttribute> |
getDynamicImports()
Get dynamic imports. |
List<PackageAttribute> |
getExportPackages()
Get the export packages. |
ParameterizedAttribute |
getFragmentHost()
Get the fragment host. |
String |
getHeader(String key)
Extension point to read custom manifest headers. |
Dictionary<String,String> |
getHeaders()
Get the headers in raw unlocalized format. |
List<PackageAttribute> |
getImportPackages()
Get the import packages. |
int |
getInitialStartLevel()
Returns the initial start level of the bundle. |
List<ParameterizedAttribute> |
getRequireBundles()
Get the required exports |
List<String> |
getRequiredExecutionEnvironment()
Get required exectuion envs |
boolean |
isSingleton()
Whether the bundle is a singleton |
OSGiMetaData |
validate()
Validate the this metadata |
| Field Detail |
|---|
static final String ANONYMOUS_BUNDLE_SYMBOLIC_NAME
Constants#BUNDLE_SYMBOLICNAME for a v4.1 bundle
| Method Detail |
|---|
Dictionary<String,String> getHeaders()
String getHeader(String key)
key - the header key
ActivationPolicyMetaData getBundleActivationPolicy()
String getBundleActivator()
List<String> getBundleCategory()
List<String> getBundleClassPath()
String getBundleDescription()
String getBundleLocalization()
int getBundleManifestVersion()
String getBundleName()
List<ParameterizedAttribute> getBundleNativeCode()
List<String> getRequiredExecutionEnvironment()
String getBundleSymbolicName()
ParameterizedAttribute getBundleParameters()
URL getBundleUpdateLocation()
org.osgi.framework.Version getBundleVersion()
List<PackageAttribute> getDynamicImports()
List<PackageAttribute> getExportPackages()
ParameterizedAttribute getFragmentHost()
List<PackageAttribute> getImportPackages()
List<ParameterizedAttribute> getRequireBundles()
boolean isSingleton()
int getInitialStartLevel()
OSGiMetaData validate()
throws org.osgi.framework.BundleException
org.osgi.framework.BundleException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||