public abstract class AbstractProvisioningSource extends java.lang.Object implements ProvisioningSource
| Modifier and Type | Field and Description |
|---|---|
protected java.util.Map<java.lang.String,A2Contribution> |
contributions |
| Constructor and Description |
|---|
AbstractProvisioningSource() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
asTree() |
protected void |
asTree(java.lang.String prefix,
java.lang.StringBuffer buf) |
A2Branch |
findBranch(java.lang.String componentId,
Version version)
Finds the
A2Branch related to this component and version. |
protected A2Component |
findComponent(java.lang.String componentId) |
protected A2Contribution |
getOrAddContribution(java.lang.String contributionId) |
Bundle |
install(BundleContext bc,
org.argeo.osgi.a2.A2Module module)
Install a module in the OSGi runtime.
|
java.lang.Iterable<A2Contribution> |
listContributions(java.lang.Object filter)
List all contributions of this source.
|
protected java.lang.String |
readSymbolicNameFromModule(java.nio.file.Path modulePath) |
protected java.lang.String |
readVersionFromModule(java.nio.file.Path modulePath) |
void |
update(Bundle bundle,
org.argeo.osgi.a2.A2Module module)
Update a module in the OSGi runtime.
|
protected final java.util.Map<java.lang.String,A2Contribution> contributions
public java.lang.Iterable<A2Contribution> listContributions(java.lang.Object filter)
ProvisioningSourcelistContributions in interface ProvisioningSourcepublic Bundle install(BundleContext bc, org.argeo.osgi.a2.A2Module module)
ProvisioningSourceinstall in interface ProvisioningSourcepublic void update(Bundle bundle, org.argeo.osgi.a2.A2Module module)
ProvisioningSourceupdate in interface ProvisioningSourcepublic A2Branch findBranch(java.lang.String componentId, Version version)
ProvisioningSourceA2Branch related to this component and version.findBranch in interface ProvisioningSourceprotected A2Contribution getOrAddContribution(java.lang.String contributionId)
protected void asTree(java.lang.String prefix,
java.lang.StringBuffer buf)
protected void asTree()
protected A2Component findComponent(java.lang.String componentId)
protected java.lang.String readVersionFromModule(java.nio.file.Path modulePath)
protected java.lang.String readSymbolicNameFromModule(java.nio.file.Path modulePath)
Copyright © 2007–2020. All rights reserved.