* Create all instances and implementations required in APAM
*/
Set<ApformOSGiInstance> instances = getMatchingInstances(reference);
for(ApformOSGiInstance instance : instances) {
ApformImplementation implementation = new ApformOSGiImplementation(instance);
if (CST.componentBroker.getImpl(implementation.getDeclaration().getName()) == null) {
Apform2Apam.newImplementation(implementation);
}
if (CST.componentBroker.getInst(instance.getDeclaration().getName()) == null) {
Apform2Apam.newInstance(instance);