public class OsgiBundle extends DefaultNameVersion implements Module
Constructor and Description |
---|
OsgiBundle() |
OsgiBundle(Bundle bundle) |
OsgiBundle(NameVersion nameVersion) |
OsgiBundle(RealizedFlow realizedFlow)
Deprecated.
introduce an unnecessary dependency. TODO: create a separate
helper.
|
OsgiBundle(java.lang.String name,
java.lang.String version) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDeployedSystemId()
Unique deployed system id.
|
DeploymentData |
getDeploymentData()
OSGi bundle are self-contained and do not require additional deployment
data.
|
java.lang.String |
getDescription()
Value of the
Bundle-Description directive. |
Distribution |
getDistribution()
The related distribution.
|
java.lang.Long |
getInternalBundleId()
Bundle ID used by the OSGi runtime.
|
ModuleDescriptor |
getModuleDescriptor()
A serializable stateless description of the module
|
ResourceDistribution |
getResourceDistribution()
The related distribution, a jar file with OSGi metadata referenced by a
Resource . |
TargetData |
getTargetData()
TODO: reference the
OsgiRuntime as target data? |
java.lang.String |
getTitle()
Value of the
Bundle-Name directive. |
void |
setDescription(java.lang.String description) |
void |
setResourceDistribution(ResourceDistribution distribution) |
void |
setTitle(java.lang.String label) |
compareTo, equals, getName, getVersion, hashCode, setName, setVersion, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getName, getVersion
public OsgiBundle()
public OsgiBundle(java.lang.String name, java.lang.String version)
public OsgiBundle(NameVersion nameVersion)
public OsgiBundle(Bundle bundle)
public OsgiBundle(RealizedFlow realizedFlow)
RealizedFlow
.public java.lang.String getDeployedSystemId()
getDeployedSystemId
in interface DeployedSystem
public DeploymentData getDeploymentData()
getDeploymentData
in interface DeployedSystem
public Distribution getDistribution()
getDistribution
in interface DeployedSystem
public ResourceDistribution getResourceDistribution()
Resource
.public TargetData getTargetData()
OsgiRuntime
as target data?getTargetData
in interface DeployedSystem
public void setResourceDistribution(ResourceDistribution distribution)
public java.lang.Long getInternalBundleId()
public java.lang.String getTitle()
Bundle-Name
directive.public void setTitle(java.lang.String label)
public java.lang.String getDescription()
Bundle-Description
directive.public void setDescription(java.lang.String description)
public ModuleDescriptor getModuleDescriptor()
Module
getModuleDescriptor
in interface Module
Copyright © 2007–2020. All rights reserved.