I finished the patch for making the resources service of Turbine
pluggable.

The files are located at:
http://locus.apache.org/~raphael/turbine/

This patch allows the resources service implementation to be selected 
by a startup servlet parameter.
However, people wishing to implement new resources service implementation
should carefully read the limitations described in ResourcesService.java
because there a lot of Turbine functionalities are unavailable to this service
since it's initialized in a bootstrap mode.

An alternate implementation of the resources services can be found in the
Jetspeed CVS.

I've taken great care to be backward compatible with the previous implementation 
so the old TurbineResourceService.setPropertiesFileName() still works but is 
deprecated.

One caveat:
In order to be backward compatible, I had to make the InvalidResourcesException
a RuntimeException so that exising code does not need to explicitely catch
this exception but the Turbine servlet can if it wants.

This is not very good but I trust Rafal will make this service compliant
to the TurbineException model :)

--
Rapha�l Luta - [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