waitForApam();
List<Instance> pool = new ArrayList<Instance>();
for (Instance i : CST.componentBroker.getInsts()) {
ImplementationDeclaration apamImplDecl = i.getImpl()
.getImplDeclaration();
if (apamImplDecl instanceof AtomicImplementationDeclaration) {
AtomicImplementationDeclaration atomicInitialInstance = (AtomicImplementationDeclaration) apamImplDecl;