ConfiguratorFactory.substituteVariables(conf); // replace vars with system props String val=conf.getProtocolStackString(); this.stacks.put(st_name, val);
protected final void init(ProtocolStackConfigurator configurator) throws ChannelException { if(log.isInfoEnabled()) log.info("JGroups version: " + Version.description); ConfiguratorFactory.substituteVariables(configurator); // replace vars with system props props=configurator.getProtocolStackString(); prot_stack=new ProtocolStack(this, props); try { prot_stack.setup(); // Setup protocol stack (create layers, queues between them } catch(Throwable e) { throw new ChannelException("unable to setup the protocol stack", e); } }