"And more important, how does muse release the resources occupied by Resouce and capabilities?" > I think that if we are talking about a your custom capability it should be up to you (overriding)...because muse cannot know in advance internal details of your implementation...
Regards, Andrea 2009/3/16 Andrea Gazzarini <[email protected]> > 1. I did not get the point of your first question : what is "muse > configuration capability"? > 3. It is initialized on concrete implementor of your capability. You can > see that on the apache-httpd example. > In the mentioned example the array of QNames is statically declared on the > capability interface while the corresponding (concrete) getter is declared > on the capability implementation. > > Regards, > Andrea > > > 2009/3/16 SARA1232007 <[email protected]> > > >> Hi, >> >> I have following quesiton about Muse Capabilities: >> >> 1. I guess the function of muse configuration capability can be done by >> WS-ResourceProperties SetResourceProperty and GetResourceProperty, that's >> why muse configuration capability do nothing. >> What I don't understand is then what can muse configuration capability do? >> >> 2. the shutdown() operation performed by SimpleResource do two things: >> call >> prepareShutdown() by each of its capabilities, then call shutdown() by >> each >> of its capabilities, and at last removeResource from ResourceManager. In >> AbstractCapability.java, prepareShutdown() does nothing, and shutdown() >> only change the value of _hasBeenShutdown flag. What is Is >> _hasBeenShutdown >> used for? Is _hasBeenShutdown flag be check before each invocation of a >> capability? And more important, how does muse release the resources >> occupied >> by Resouce and capabilities? >> >> 3. Almost every WSDM capability has a PROPERTIES field to present >> propertyQNames. How is it initialized? What value will propertyQNames for >> each WSDM capability to take? >> >> Hope someone could do some help. >> >> Thanks >> Sara >> -- >> View this message in context: >> http://www.nabble.com/Questions-about-Muse-Capabilities-tp22537855p22537855.html >> Sent from the Muse - Dev mailing list archive at Nabble.com. >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> >> >
