Exactly what I was looking for! Thanks! I also found this while looking at the TurbinePull getGlobalContext(), which returns a Velocity context (solves another problem =).
-warner ----- Original Message ----- From: "Brekke, Jeff" <[EMAIL PROTECTED]> To: "'Turbine Users List'" <[EMAIL PROTECTED]> Sent: Tuesday, March 12, 2002 6:12 AM Subject: RE: cactus tests > Most of Turbine's services work like singletons and have a static interface > to > access them. Is the retrieving of your pull tool what you want? Then > the TurbinePull singleton may be useful: > > MyTool mt = (MyTool)TurbinePull.getTool(aContext, MyTool.TOOL_NAME); > > ================================================================= > Jeffrey D. Brekke Quad/Graphics > [EMAIL PROTECTED] http://www.qg.com > > > > -----Original Message----- > > From: Warner Onstine [mailto:[EMAIL PROTECTED]] > > Sent: Monday, March 11, 2002 10:47 PM > > To: [EMAIL PROTECTED] > > Subject: cactus tests > > > > > > Hi all, > > I am delving into writing Cactus tests for my Turbine > > 2/Velocity app and > > have hit a wall. The first component I want to test is a Pull > > Tool that I > > wrote (using Scarab as a model). I have been through and > > through the API, > > but I cannot find a way to get a particular service from with > > Turbine once > > it is running. > > > > Anyone have suggestions? I know it's probably something I'm just > > overlooking, but.... > > > > -warner > > > > +warner onstine+ > > > > > > -- > > To unsubscribe, e-mail: > > <mailto:[EMAIL PROTECTED]> > > For additional commands, e-mail: > > <mailto:[EMAIL PROTECTED]> > > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
