Rereading that bit of code,

the start does the registration in the naming space.  Anyone want to discuss
whether that is a good idea or not.  Can anyone see an absolute reason for
this to be here?  I am thinking that the container factory could
equivalently do the registration (that code ask for the container info
anyhow).  My real concerns is whether this is equivalent or not.

Are there any feelings on whether a plugin (interceptor) should be the one
controlling the registration in naming (and removal) or if this is more of
an application issue (start of app or end of container factory)...

I am leaning towards removing this bit, it makes the startup sequence very
implicit and hard to read.  You have to go look at the final bits of the
start in jrmp to see the actual registration. Every time we have equivalent
packaging constructs but one is more readable, we should pick it.

This is in line with the externalization of other interceptors and the bit
being also hard to read.

Maintainability, maintainability, maintainability, the rest is beer-piss.

marc
_________________
Marc Fleury, Ph.D
[EMAIL PROTECTED]
_________________


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

Reply via email to