Rafal Krzewski wrote:
> 
> I am currently in the process of incorporating your patch. I'm going to
> change a few details in the implementation but I like the overall
> solution
> a lot.
> I have encountered a problem we need to overcome, so that we have a
> complete
> solution. The problem is extracting configuration entries related to one
> specific service. Recently Magn�s Torfason submited a patch to
> org.apache.java.util.Configutrations class that allowed to do that
> easily
> in the system based on extended properties files. I would certainly like
> to see this capability on our system that is abstracted from properties
> files. Such an operation is easily imaginable in a system based on xml
> (extracting a subtree) or a naming system (extracting a subcontext).
>

AFAIK, Configurations is not repository independent so could be easily
used with XML files and maybe even a naming system.
In fact, since Magnus patch has been incorporated in Configurations, 
the GenericResources class is exactly the same as Configurations 
exept for the constructors...

> Right now I think that we should add a method with signature like
> ResoucesService getResources(String prefix) to the ResourcesService
> interface. Then, TurbineServices class will be able to pass an
> intance of ResourcesService containg extracted configuration values
> to each service.
> 
> If you are willing to work on this issue, please let me know. Otherwise
> I'll work on it next week.
> 

I'm +1 for the getResources() but I won't be able to work on it before at 
least 1 week because we're readying a new release for Jetspeed so I'll 
be mostly doing bug chasing and documentation for the next few days... :/

--
Rapha�l Luta - [EMAIL PROTECTED]
Vivendi Universal Networks - Services Manager / Paris


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