1 5 package ve.luz.ica.jackass.solver; 6 7 import org.apache.commons.logging.Log; 8 import org.apache.commons.logging.LogFactory; 9 import org.omg.CORBA.Object ; 10 11 17 public class ComponentSolverImpl extends ComponentSolverPOA 18 { 19 private static final Log LOG = LogFactory.getLog(ComponentSolverImpl.class); 20 21 private ComponentProxyManager cpm; 22 23 27 public ComponentSolverImpl(ComponentProxyManager cpMgr) 28 { 29 this.cpm = cpMgr; 30 } 31 32 38 public Object [] solve(String componentID) 39 { 40 Object [] proxies = cpm.getProxies(componentID); 41 if (LOG.isDebugEnabled()) LOG.debug("Resolving " + componentID + 42 " found " + proxies.length + " proxies"); 43 return proxies; 45 } 46 47 } 48 | Popular Tags |