Paul Hammant wrote:
> ><snip/>  Maybe I'm
> >being over-sensertive but I'm very aware of the fact that we are have 
> >already almost doubled the number of operations relative to CM - which 
> >leaves me with the question - can you do without it?
> >
> I could not agree more.    Don't make me post that "What the user 
> wanted" cartoon again.
> 
> Can someone do a rollup of proposed alternative with pros and cons 
> please...... it is difficult to follow all the strands.


Morning Paul:

Here is an attempt to pull a few string together.

There appear to be two primary threads of though/discussion. 
Here is a somewhat "normalised" version of the direction/scope of 
discussions as I see them (so please jump in and correct me if 
I'm missing anything dramatic).  I'm assuming that we are all ok 
with the Map type as opposed to Parameter,  that there appears to 
be a reasonable consensus that there are different concerns for 
"service" managed versus "reference" managed components which 
seem to be gravitating towards the ServiceManager and 
ComponentManager respectively.  I think its fair to say that the
ServiceManager is for all practical purposes stable as far as 
principals are concerned.  The ComponentManager discussion are 
more recent and a will probably need another couple of laps 
around the garden before everything is clear.

   1.  ServiceManager
        - this is relatively stable relative to yesterdays 
          discussions
        - last nights input raised the need for a parallel
          hasXxxx operation that takes a Map as an additional 
          argument - paralleling lookup(String, Map )
          semantics

          interface ServiceManager
          {
             Object lookup( String role );
             Object lookup( String role, Map policy );
             boolean hasService( String role );
             boolean hasService( String role, Map policy ); 
             void release( Object key );
          }

   2.  ComponentManager
        - resurfacing of CM has been driven by what appears to be
          separation of concerns between service decommissioning 
          as distinct from needs of referenced managed component 
          (hence the appearance of Object as token in the interface
          below)
        - this is being discussed as a complementary interface to 
          the ServiceManger described above

          interface ComponentManager
          {
             Object lookup( Object token, String role );
             Object lookup( Object token, String role, Map policy );
             boolean hasComponent(Object role );
             void release( Object component );
             void releaseAll( Object token );
          }

As Pete has frequently pointed out, I need to exercise my commit 
muscles.  As mentioned about - SM seems stable - CM appears to 
need some fine tuning.  I would like to go ahead and flex these new 
found muscles by moving SM in the framework and committing the 
Phoenix updates. However, being the almost newest committer on 
the block I'll follow your lead.

Cheers, Steve.



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

Reply via email to