Pete:

I'm getting some odd results form the containerkit DependecyMap.
I have a situation where I have 3 components that need to run.
A, B and C.  A depends on B and C and C depends on B

When I list the startup graph, I'm basically getting the following 
sequence back:

    B, C, A, B, B, C, B

And for shutdown:

   A, A, C, B, A, C, A, C, B

Which seems a little strange.  What I am expecting is a startup graph of 
B, C, A and a shutdown graph of A, C, B (which is what the result would 
be if the duplicates in the graph were removed.
Any thoughts ?

Cheers, Steve.

-- 

Stephen J. McConnell

OSM SARL
digital products for a global economy
mailto:[EMAIL PROTECTED]
http://www.osm.net


     [java] [DEBUG  ] (registry): PROFILE REPORT

     [java]   name: complex
     [java]   type: org.apache.excalibur.playground.ComplexComponent/1.0.0/ (complex)
     [java]   context: org.apache.avalon.framework.context.DefaultContext@b82368
     [java]   configuration:
     [java]   <configuration>
     [java]     <message value="Hello"/>
     [java]   </configuration>
     [java]   parameters: org.apache.avalon.framework.parameters.Parameters@1c8a71
     [java]   dependecies
     [java]   dependency 0
     [java]     role: basic
     [java]     provider: 43811
     [java]   dependency 1
     [java]     role: simple
     [java]     provider: 14093690


     [java] [DEBUG  ] (registry): PROFILE REPORT

     [java]   name: 43811
     [java]   type: org.apache.excalibur.playground.TerminalComponent/1.0.0/ 
(terminal-component)
     [java]   context: org.apache.avalon.framework.context.DefaultContext@c53dce
     [java]   configuration:
     [java]   <configuration/>
     [java]   parameters: org.apache.avalon.framework.parameters.Parameters@5cda3f
     [java]   dependecies (none)


     [java] [DEBUG  ] (registry): PROFILE REPORT

     [java]   name: 14093690
     [java]   type: org.apache.excalibur.playground.SimpleComponent/1.0.0/ 
(simple-component)
     [java]   context: org.apache.avalon.framework.context.DefaultContext@fc9944
     [java]   configuration:
     [java]   <configuration/>
     [java]   parameters: org.apache.avalon.framework.parameters.Parameters@b26af3
     [java]   dependecies
     [java]   dependency 0
     [java]     role: basic
     [java]     provider: 43811


     [java] [DEBUG  ] (registry): DependencyMap listing
     [java] [DEBUG  ] (registry): startup sequence
     [java] [DEBUG  ] (registry):   start: DefaultProfile name: '43811' type: 
org.apache.excalibur.playground.TerminalComponent/1.0.0/ (terminal-component)
     [java] [DEBUG  ] (registry):   start: DefaultProfile name: '14093690' type: 
org.apache.excalibur.playground.SimpleComponent/1.0.0/ (simple-component)
     [java] [DEBUG  ] (registry):   start: DefaultProfile name: 'complex' type: 
org.apache.excalibur.playground.ComplexComponent/1.0.0/ (complex)
     [java] [DEBUG  ] (registry):   start: DefaultProfile name: '43811' type: 
org.apache.excalibur.playground.TerminalComponent/1.0.0/ (terminal-component)
     [java] [DEBUG  ] (registry):   start: DefaultProfile name: '43811' type: 
org.apache.excalibur.playground.TerminalComponent/1.0.0/ (terminal-component)
     [java] [DEBUG  ] (registry):   start: DefaultProfile name: '14093690' type: 
org.apache.excalibur.playground.SimpleComponent/1.0.0/ (simple-component)
     [java] [DEBUG  ] (registry):   start: DefaultProfile name: '43811' type: 
org.apache.excalibur.playground.TerminalComponent/1.0.0/ (terminal-component)
     [java] [DEBUG  ] (registry): shutdown sequence
     [java] [DEBUG  ] (registry):   stop: DefaultProfile name: 'complex' type: 
org.apache.excalibur.playground.ComplexComponent/1.0.0/ (complex)
     [java] [DEBUG  ] (registry):   stop: DefaultProfile name: 'complex' type: 
org.apache.excalibur.playground.ComplexComponent/1.0.0/ (complex)
     [java] [DEBUG  ] (registry):   stop: DefaultProfile name: '14093690' type: 
org.apache.excalibur.playground.SimpleComponent/1.0.0/ (simple-component)
     [java] [DEBUG  ] (registry):   stop: DefaultProfile name: '43811' type: 
org.apache.excalibur.playground.TerminalComponent/1.0.0/ (terminal-component)
     [java] [DEBUG  ] (registry):   stop: DefaultProfile name: 'complex' type: 
org.apache.excalibur.playground.ComplexComponent/1.0.0/ (complex)
     [java] [DEBUG  ] (registry):   stop: DefaultProfile name: '14093690' type: 
org.apache.excalibur.playground.SimpleComponent/1.0.0/ (simple-component)
     [java] [DEBUG  ] (registry):   stop: DefaultProfile name: 'complex' type: 
org.apache.excalibur.playground.ComplexComponent/1.0.0/ (complex)
     [java] [DEBUG  ] (registry):   stop: DefaultProfile name: '14093690' type: 
org.apache.excalibur.playground.SimpleComponent/1.0.0/ (simple-component)
     [java] [DEBUG  ] (registry):   stop: DefaultProfile name: '43811' type: 
org.apache.excalibur.playground.TerminalComponent/1.0.0/ (terminal-component)
     [java] [DEBUG  ] (merlin): execution

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

Reply via email to