1 28 package org.objectweb.openccm.explorer.Deployment; 29 30 31 import org.objectweb.openccm.Deployment.Server; 32 import org.objectweb.util.explorer.api.Context; 33 import org.objectweb.util.explorer.api.Entry; 34 import org.objectweb.util.explorer.core.naming.lib.DefaultEntry; 35 36 44 public class DeploymentServerContext 45 implements Context 46 { 47 48 54 60 66 72 public Entry[] getEntries(Object object) { 73 Server server = (Server) object; 74 Entry[] values = new Entry[2]; 75 values[0] = new DefaultEntry("ComponentServer", server.provide_component_server()); 76 values[1] = new DefaultEntry("ComponentInstallation", server.provide_install()); 77 return values; 78 } 79 80 } | Popular Tags |