On 12 Jul 2000, at 9:30, dave bryson wrote:

> On Wed, 12 Jul 2000, you wrote:
> > I need to do some initialisation during servlet initialisation.
> > 
> > I would like turbine to allow to specify action it will call in method 
> > init in servlet class:
> > 
> > TurbineResources.properties:
> > init.action=SubSystemInitialisation
> 
> Are you talking about having a generic way to initialize from
> Turbine.init()
Yes.

>  
> > SubSystemInitialisation.java:
> > 
> > class SubSystemInitialisation extends AbstracInitAction {
> >     init(ServletConfig config) {
> >         ...
> >     }
> > }
> 
> Take a look at the TurbineService interface and see if that can
> help you.
It does not. That is why:

I use, let's say MyService class that is initialised with init(int x) 
method. I use it in my classes to implement some logic. These 
classes are ment to be used in turbine (in Screens and Actions) 
and in other application as well so I can't (I don't want other 
application to depend on Turbine classes) subclass MyService as 
TurbineService and init it via TurbineServices. 


Maciek Kaminski
[EMAIL PROTECTED]


------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to