1 26 package org.objectweb.openccm.explorer.DCI; 27 28 import org.ist.coach.DCI.ExtComponentInstallation; 29 import org.objectweb.util.explorer.api.Context; 30 import org.objectweb.util.explorer.api.Entry; 31 import org.objectweb.util.explorer.core.naming.lib.DefaultEntry; 32 33 40 public class ComponentInstallationContext 41 implements Context 42 { 43 44 50 56 62 68 71 public Entry[] getEntries(Object object) { 72 ExtComponentInstallation componentInstallation = (ExtComponentInstallation) object; 73 String [] uuids = componentInstallation.get_all_implUUIDs(); 74 Entry[] values = new Entry[uuids.length]; 75 for (int i = 0; i < values.length; i++) { 76 values[i] = new DefaultEntry(uuids[i], new ArchiveUUID(uuids[i])); 77 } 78 return values; 79 } 80 81 } 82 | Popular Tags |