1 28 29 package org.objectweb.fractal.explorer.context; 30 31 import org.objectweb.fractal.api.Component; 32 import org.objectweb.util.explorer.api.Entry; 33 import org.objectweb.util.explorer.core.naming.lib.DefaultEntry; 34 35 36 41 public class ComponentContextForArchitect 42 extends ComponentContextForAdmin 43 { 44 50 56 62 68 72 public Entry[] getEntries(Object object){ 73 Component ci = (Component)object; 74 Entry[] entries = super.getEntries(object); 75 Entry[] values = new Entry[entries.length + 1]; 76 values[0] = new DefaultEntry("types", ci.getFcType()); 77 System.arraycopy(entries,0,values,1,entries.length); 78 return values; 79 } 80 } | Popular Tags |