Hi,

When you want to use a Avalon component within a Action class when should
you retrieve the TurbineAvalonComponentService?. Is it recommended to s do
this for every method that uses the component? Or is it better to have a
static in your Action class that stores the reference to it? If lots of your
action classes use it, then what is the recommended approach to accessing
the components? As far as I see it there is the retrieval of the Avalon
Component Service and then there is the following retrieval of the actual
Component itself.

            TurbineAvalonComponentService tacs =
(TurbineAvalonComponentService) TurbineServices.getInstance()

.getService("AvalonComponentService");

            DefaultScheduler scheduler = (DefaultScheduler) tacs.lookup(
                                                        
"org.codehaus.plexus.scheduler.Scheduler");


Any recommendations on this?

Thanks

David


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

Reply via email to