Improve A2 provisioning framework.
[lgpl/argeo-commons.git] / org.argeo.osgi.boot / src / org / argeo / osgi / boot / a2 / A2Branch.java
index a9e5e5f90df2a884071be2eda5f9510933aceb1b..9e3f81dec95cbfa5758d18c3ea34a55145cace05 100644 (file)
@@ -12,13 +12,13 @@ import org.osgi.framework.Version;
  * typically a combination of major and minor version, indicating backward
  * compatibility.
  */
-class A2Branch implements Comparable<A2Branch> {
+public class A2Branch implements Comparable<A2Branch> {
        private final A2Component component;
        private final String id;
 
        final SortedMap<Version, A2Module> modules = Collections.synchronizedSortedMap(new TreeMap<>());
 
-       A2Branch(A2Component component, String id) {
+       public A2Branch(A2Component component, String id) {
                this.component = component;
                this.id = id;
                component.branches.put(id, this);