Hi, I'm trying to extend the Scriptd Bean Shell to have access to a few more objects when running scripts. The main thing I would like to give it access to is the OnmsNode object so scripts can do slightly more complex stuff.
As far as I can tell the way to do this is through the DaoNode class. It seems that most objects keep a private reference to a Dao class but I'm having trouble following where this is set from. Should I be passing the DAO object down on the instantiation of Scriptd itself or is there another preferred method/pattern of getting access to these objects in the code. -- Alex, homepage: http://www.bennee.com/~alex/ http://www.half-llama.co.uk ------------------------------------------------------------------------------ SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-dev2dev _______________________________________________ Please read the OpenNMS Mailing List FAQ: http://www.opennms.org/index.php/Mailing_List_FAQ opennms-devel mailing list To *unsubscribe* or change your subscription options, see the bottom of this page: https://lists.sourceforge.net/lists/listinfo/opennms-devel