On 2002.02.28 14:32:02 -0500 Scott M Stark wrote:
> What are these and how do they relate to the service descriptor?

If you look at the jboss_xmbean_1_0.dtd I checked in today you will see a
bunch of descriptors that can be applied to various parts of the mbean
info, in particular these service lifecycle "how much do we stop when we
change an attribute".  OK, so that's where the info comes from: now, how is
it used?  The modelmbean implementation the jboss mx guys are working on
has interceptors, just like ejbs in jboss.  One of them is the
attribute-stuff interceptor.  So, it needs to pay attention to this
service-lifecycle attribute and when it sees an attribute modification go
by, shut down the service to the appropriate extent, and restart it on
return. (you can modify many attributes in one call with a setAttributes
call).


I haven't worked out the details, but I think most of the service lifecycle
management can be moved to these interceptors.

btw, with the xmbean stuff, as soon as it is working a little more, we
should be able to move all our mbeans over to using it -- no more xxxMBean
interfaces.

david jencks


> 
> > (3) IMHO is best handled by xmbean/modelmbean interceptors.  The
> xdoclet
> > task I just wrote will generate appropriate descriptors, however the
> xmbean
> > implementation is not complete enough to implement this at the moment.
> >
> > I think possibly much of the functionality of ServiceController can be
> > moved to modelmbean interceptors.
> >
> > david jencks
> >
> 
> 
> 
> _______________________________________________
> Jboss-development mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-development
> 
> 

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to