connect.setupOperator();
    public void connectGraph ()    {        // make sure I have some elements - not sure what to do otherwise        assert !streamElements.isEmpty ();        // go through the list and connect it together:        ListIterator childIter;        childIter = (ListIterator) streamElements.iterator ();        Stream source = null;        while (childIter.hasNext ())        {            // advance the iterator:            Stream sink = (Stream) childIter.next ();            assert sink != null;            // setup the sink itself            sink.setupOperator ();            if (source != null && source.getOutputChannel () != null)            {                // create and connect a pass filter                ChannelConnectFilter connect = new ChannelConnectFilter ();                Channel in = source.getOutputChannel ();                Channel out = sink.getInputChannel ();                connect.useChannels (in, out);            }            source = sink;        }        // set myself up with proper input and output        {            input = ((Stream)streamElements.getFirst ()).getInputChannel ();            output = ((Stream)streamElements.getLast ()).getOutputChannel ();        }    }