/** * Lookup the invokers in the object registry. This typically cannot * be done until our start method as the invokers may need to be started * themselves. */ protected void setupInvokers() throws Exception { ObjectName oname = new ObjectName(invokerMetaData.getInvokerMBean()); Invoker invoker = (Invoker) Registry.lookup(oname); if(invoker == null) { throw new RuntimeException("invoker is null: " + oname); } homeInvoker = beanInvoker = invoker; }
if (ipbmd != null) String invokerName = ipbmd.getInvokerMBean(); if (invokerName != null)
ObjectName oname = new ObjectName(invokerMetaData.getInvokerMBean()); jrmp = (InvokerHA)Registry.lookup(oname); if (jrmp == null)