code: public List<ConnectionFactoryResourceType<WebAppType<T>>> getAllConnectionFactory()
     {
        List<ConnectionFactoryResourceType<WebAppType<T>>> list = new ArrayList<ConnectionFactoryResourceType<WebAppType<T>>>();
        List<Node> nodeList = childNode.get("connection-factory");
        for(Node node: nodeList)
        {
           ConnectionFactoryResourceType<WebAppType<T>>  type = new ConnectionFactoryResourceTypeImpl<WebAppType<T>>(this, "connection-factory", childNode, node);
           list.add(type);
        }
        return list;
     }
docs: Returns all <code>connection-factory</code> elements
  @return list of <code>connection-factory</code>