private void bindJDBCConfig(EnvConfigBean envConfig, Document document)
    {
        NodeList jdbcNodes = document.getElementsByTagName("jdbc");
        if(null != jdbcNodes && jdbcNodes.getLength() > 0)
        {
            Node node = jdbcNodes.item(0);
            NodeList jdbcProps = node.getChildNodes();
            Map<String,ConfigDataSourceBean> jdbcPropertyMap = new HashMap<String,ConfigDataSourceBean>();
            int i = 0;
            do
            {
                if(i >= jdbcProps.getLength())
                    break;
                Node prop = jdbcProps.item(i);
                short nodeType = prop.getNodeType();
                switch(nodeType)
                {
                case Node.ELEMENT_NODE: // '\001'
                    NamedNodeMap propAttr = prop.getAttributes();
                    ConfigDataSourceBean csb = new ConfigDataSourceBean();
                    csb.setName(null != propAttr.getNamedItem("name") ? propAttr.getNamedItem("name").getNodeValue() : "");
                    csb.setValue(null != propAttr.getNamedItem("value") ? propAttr.getNamedItem("value").getNodeValue() : "");
                    csb.setRemark(null != propAttr.getNamedItem("remark") ? propAttr.getNamedItem("remark").getNodeValue() : "");
                    jdbcPropertyMap.put(csb.getName(), csb);
                    break;
                }
                i++;
            } while(true);
            envConfig.setJdbc(jdbcPropertyMap);
        } else
        {
            throw new EnvironmentConfigException("no jdbc node found");
        }
    }