try { m_varResolver = VariableResolverFactory.getResolver( configuration.getAttribute("src"), super.m_manager); } catch (PatternException e) { throw new ConfigurationException("unable to resolve action 'src' attribute"); }
    public void build(Configuration configuration) throws ConfigurationException {                super.build(configuration);                // get the selector        m_type = configuration.getAttribute("type",m_ln.getDefaultAction());//        try {//            m_src = VariableResolverFactory.getResolver(//                    configuration.getAttribute("src"), super.m_manager);//        } catch (PatternException e) {//            final String message = "Illegal pattern syntax at for location attribute 'src'" +//                    " at " + configuration.getLocation();//            throw new ConfigurationException(message,e);//        }        try {            final ServiceSelector selectors = (ServiceSelector) super.m_manager.lookup(Action.ROLE + "Selector");            m_action = (Action) selectors.select(m_type);        } catch (ServiceException e) {            final String message = "Unable to get Selector of type " + m_type;            throw new ConfigurationException(message,e);        }                // build the child nodes        final Configuration[] children = configuration.getChildren();        final List nodes = new ArrayList(children.length);        for (int i = 0; i < children.length; i++) {            AbstractNode node = null;            String name = children[i].getName();            if (name.equals("location")) {                node = new LocationNode(m_ln, super.m_manager);            }             else if (name.equals("match")) {                node = new MatchNode(m_ln, super.m_manager);            }            else if (name.equals("select")) {                node = new SelectNode(m_ln, super.m_manager);            }            else if (name.equals("act")) {                node = new ActNode(m_ln, super.m_manager);            }            else if (!name.equals("parameter")) {                final String message = "Unknown select node child:" + name;                throw new ConfigurationException(message);            }            if (node != null) {                node.enableLogging(getLogger());                node.build(children[i]);                nodes.add(node);            }        }        m_nodes = (AbstractNode[]) nodes.toArray(new AbstractNode[nodes.size()]);    }