Again, I haven't actually tried this stuff so these
suggestions are educated guesses...

On Thursday, March 21, 2002, at 08:45  AM, Gareth Coltman wrote:

> At the moment in my code I am getting an instance of the service by:
>
> return (IntakeService)TurbineServices
>             .getInstance().getService(IntakeService.SERVICE_NAME);
>
> Should I be using the fulcrum.Fulcrum class instead?

I think that's correct.  Something like this:

import org.apache.fulcrum.Fulcrum;
import org.apache.fulcrum.intake.IntakeService;
...
return (IntakeService)Fulcrum
             .getInstance().getService(IntakeService.SERVICE_NAME);


> None of the services in my Fulcrum properties file appear in the 
> services
> initialisation section of the turbine.log.

My guess here is that the Fulcrum.properties file might
have different logging levels set.  Or perhaps that there
is something about the path to the log file that's missing.

-Eric

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

Reply via email to