I'm bringing my own services in line with turbine, using Rafal's
initialization
code, so my initialization takes place before Tomcat is started.

I need to use the TurbineResources class, as in:

//----
public MyService extends BaseService

  public void init( Object data ) {
    myFunction(TurbineResources.getString("my.property","default"))
    setInit(true);
  }

}
//----


This seems to be working, but I wonder if it is just a coincidence that
TurbineResourceService has been inited before MyService.  Or does
TurbineResourceService not have to be inited to use calls like:

TurbineResources.getString("my.property","default");


I'm a bit lost in the services model, so forgive me if my question is
stupid.


Magnus



------------------------------------------------------------
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