Ok, lets split it into another problem. The JSR-77 puzzle.

>                ------------------       ------------------- 
>  --------     | ContainmentModel | --* | ComponentModel(s) |
> | Merlin | --  ------------------       ------------------- 
>  --------      -------------------
>               | JMX View of above |
>                -------------------

To fulfill the requirements of JSR-77 we'll have something like:


------   -----------------     |A|
Merlin   TopLevelContainer  ->  + |B|
------   -----------------         + |C|


After the JSR77 facility will have:


   -----------------     |A|
   TopLevelContainer  ->  + |B|
   -----------------         + |C|

------
Merlin
------

   -----------------     |Managed A|
   Domain             ->      + |Managed B|
   -----------------                + |Managed C|


You have two hierarchies representing what could be possibly be represented
using only one. 

So, how to achieve that? Don't know. But what I know is that the
excalibur-lifecycles is too restrictive to this. 

What about:

- May the facility alter of the result of DeploymentModel->Resolve? It
could, but shouldn't. 
- May the facility proxy the result of DeploymentModel->Resolve? Why not?
But wait a minute! In most cases the Appliance already returns a proxy!
Proxy of a proxy of a proxy ?!? Bleh(tm) 

Back to interceptors framework... 

Why not something like (in facility):

??Model = containment.getModel( x );
??Model.addInterceptorPhase( y );


two cents, anyway..

I think the JMX facility will be great but we can always re-think/rehash if
things couldn't be better or easy ours lifes.




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to