On Jan 11, 2011, at 505AM, Sim IJskes - QCG wrote:

> On 10-01-11 19:42, Dennis Reedy wrote:
>> Fir testing I use a a DynamicConfiguration class that extends 
>> net.jini.config.AbstractConfiguration. It basically becomes a configuration 
>> object that can be populated with
>> entries programmatically at runtime. Would that help?
> 
> It certainly might be. Would that be some kind of extended Map?

The class contains a Map property, extends 
net.jini.config.AbstractConfiguration, providing an implementation of 

protected Object getEntryInternal(String component, String name, Class type, 
Object data)

and also provides the following setter:

/**
  * Sets an arbitrary entry.
 *
 * @param component the component name
 * @param name the entry (short) name
 * @param type the entry type
 * @param value the entry value
 */
public void setEntry(String component, String name, Class type, Object value) 


> 
> I'm still fuzzing on how to pass the 'current configuration' to the 
> ServiceDescriptor in text based configs. I was thinking of adding a extended 
> parameter $configuration. Any ideas?


Reply via email to