All fixed.

http://nagoya.apache.org/jira/browse/RUNTIME-39

With a little bit of luck I'll have a binary package of 3.3.1-DEV
sometime this weekend. In the meantime I've added some notes about
revisions to embeddor classpath and artifact uri that are implied.

A testcase demonstration dynamic model creation is available here:
http://svn.apache.org/repos/asf/avalon/trunk/runtime/composition/impl/src/test/org/apache/avalon/composition/model/test/DynamicCreationTestCase.java


Cheers, Steve.


Eike Stepper wrote:

cool ;-))


"Stephen McConnell" <[EMAIL PROTECTED]> schrieb im Newsbeitrag news:[EMAIL PROTECTED]

Eike:

I've been tracking though the code and have "theoretically" figured
out the problem.  Basically the commission operation is passing the
 component model of to the runtime to do all of the dirty work with
a presumption that the component model is assembled.  This
presumption holds true when components are created dynamically
through discovery - e.g. model.getModel( ref ).

In the scenario of dynamically created component models - the code dealing with model commissioning needs to be updated to check if
the model that is the subject of a commissioning request is
assembled or not - and if not then automatically handle assembly
on-the-fly. This will ensure identical behavior with discovery
based dynamics.


In the meantime I've going to put in place a testcase to cover the dynamic creation scenario and sort out an immediate solution.

Steve.


--

|---------------------------------------| | Magic by Merlin
| | Production by Avalon | |
| | http://avalon.apache.org | |---------------------------------------|





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




--

|---------------------------------------|
| Magic by Merlin                       |
| Production by Avalon                  |
|                                       |
| http://avalon.apache.org              |
|---------------------------------------|

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



Reply via email to