After I read through all documentations, I think it is more appropriate to just use <set property="description" value="My Service"/> in <construct/>
-----Original Message----- From: Knut Wannheden [mailto:[EMAIL PROTECTED] Sent: Thursday, November 18, 2004 11:29 PM To: [email protected] Subject: Re: Do I always have to create a contribution object? Christopher, How about using a general purpose class for cases as this one? E.g. a StringHolder with a setValue(String) or something. You could reuse this class for all simple configurations of this kind. Apart from that you can also just not declare any schema at all for you configuration. What you will get then is a List of HiveMind Elements (see org.apache.hivemind.Element), which are similar to (but simpler than) XML DOM elements. But then you end up with an unwanted dependency... --knut On Thu, 18 Nov 2004 23:19:51 +0800, Christopher Cheng <[EMAIL PROTECTED]> wrote: > > > > I am curious if it is always necessary to create a contribution object to > parse init parameters to the service-point. > > Sometimes, it can be as simple as setDescription() in the service, but I > still have to create a FooContribution() to hold the values. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
