prasad neo said:
> Hello,
>         I a new subscriber to this mailing list. I am
> developing a
> Testcase Management system as an
> integral part of scarab. The TCM will work in
> co-ordination with scarab.
> The TCM will
> contain  following  phases
> 1. Requirement Mgmt
> 2. Test Planning
> 3. Test Execution
> 4. Defect Tracking (Scarab)
> 
> I am studying the source code of scarab. But i am
> having problem with
> the PULL Tools.
> Please tell what actually a Pull tool is
> eg: ScarabRequestTool and How it works or how it is
> used.
> how to setup a new tool and use it.


A pull tool is a session, request or global scope level object that is
managed by the Turbine PullService Service.  This service is responsible to
managing the 'tools' that are automatically provided in the template
context.  It manages the lifecycle and pooling of these objects.

To configure a pull tool you define the pull tools for the PullService.
Depending on the Turbine version you are running these are either in a
property file (TurbineResources.properties) or an XML configuration file.
The following sample is for the older property file format:

tool.request.link=com.concur.turbine.util.template.TemplateLink

This defines a tool with the variable of 'link' (or '$link' if using the
velocity templating implementation) in the request scope.  That means that
each request that comes into the server will get its own instance of this
object.  The declared class must be on the class path and implement the
org.apache.turbine.services.pull.ApplicationTool interface.  

If you want to see the implementation details you should look at the class
org.apache.turbine.services.pull.TurbinePullService.

Hope this helps,

-Russell Edens

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to