Re: wonder how to use Session.getObjects()?

2009-10-12 Thread Ted Ross
Ming, You can get the API documentation for the Python console interactively: $ python >>> from qmf.console import Session >>> help(Session) To answer your question, you can use the _objectId argument to get the child object: result = agents[0].create_child("xyz") child = sess.getObjects(_

wonder how to use Session.getObjects()?

2009-10-09 Thread Ming Zhang
Hi All I wonder how to use session getObject? What are those _class, _key means? For example, I ran the qmf-agent example, then run the qmf-console/console, it shows some agents i can play with. Then I use python agents = sess.getObjects(_class="parent", _package="org.apache.qpid.agent.example"