Make A2 API more public.
[lgpl/argeo-commons.git] / org.argeo.init / src / org / argeo / init / a2 / A2Contribution.java
index 3d33b55e281deb1b48dbc0db97b6e5cc65c3b9b2..9d1348294925c1d8a0d6be4ddcb4006eeaab1fe3 100644 (file)
@@ -30,6 +30,10 @@ public class A2Contribution implements Comparable<A2Contribution> {
 //                     context.contributions.put(id, this);
        }
 
+       public Iterable<A2Component> listComponents(Object filter) {
+               return components.values();
+       }
+
        A2Component getOrAddComponent(String componentId) {
                if (components.containsKey(componentId))
                        return components.get(componentId);