Jon Stevens wrote:
> > Calling getConfigurations("my.service") returns a Configurations containing
> > the values:
> >
> > name=MyService
> > value=352
> > anothervalue=0
> >
> > It is very valuable for me to have the option to pass configurations with
> > values that are not dependent on the service in question, and lacking a
> > better place, I submit the patch here, since it is not being developed in
> > it's original place (jserv).
> >
> > Magnus
> 
> Hi Magnus, I believe that the Services API already offers this
> functionality.

>     public Properties getProperties( String name )

Not really. Note that the method returns plain java.util.Properties
object,
not the ExtendedProperties/Configurations object that has methods
for retrieving Vectors/Integers etc.

I was thinking about adding this kind of functionality to services
earlier,
but I considered this to be rather low priority.

I'd vote +1 to Magnus' patch if we agree at the point that patching the 
code inherited from JServ is OK.

Rafal


--
Rafal Krzewski
Senior Internet Developer
mailto:[EMAIL PROTECTED]
+48 22 8534830 http://e-point.pl


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