| java.lang.Object | |
| ↳ | com.atlassian.plugin.osgi.util.OsgiHeaderUtil |
Utilities to help create OSGi headers
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Builds the header string from a map
| |||||||||||
Finds all referred packages for host component registrations by scanning their declared interfaces' bytecode.
| |||||||||||
Finds all referred packages for host component registrations by scanning their declared interfaces' bytecode.
| |||||||||||
Gets the plugin key from the jar manifest
| |||||||||||
Gets the plugin key from the bundle
WARNING: shamelessly copied at com.atlassian.plugin.osgi.bridge.PluginBundleUtils, which can't use
this class due to creating a cyclic build dependency.
| |||||||||||
Parses an OSGi header line into a map structure
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Builds the header string from a map
| key | The header value |
|---|---|
| attrs | The map of attributes |
Finds all referred packages for host component registrations by scanning their declared interfaces' bytecode.
| registrations | A list of host component registrations |
|---|
| IOException | If there are any problems scanning bytecode |
|---|
Finds all referred packages for host component registrations by scanning their declared interfaces' bytecode.
| registrations | A list of host component registrations |
|---|
| IOException | If there are any problems scanning bytecode |
|---|
Gets the plugin key from the jar manifest
| mf | The plugin jar manifest |
|---|
Gets the plugin key from the bundle WARNING: shamelessly copied at com.atlassian.plugin.osgi.bridge.PluginBundleUtils, which can't use this class due to creating a cyclic build dependency. Ensure these two implementations are in sync.
| bundle | The plugin bundle |
|---|
Parses an OSGi header line into a map structure
| header | The header line |
|---|