Ferguson, Doug wrote:

EXCEPTION: I wouldn't expect Merlin to deploy it, but wouldn't merlin abort?


The block definition tells Merlin what it has to do - for example you want component x and y started as part of deployment. In order to achieve this Merlin will attempt to build a solution but if that solution cannot be assembled, and another strategy exists, Merlin will attempt to assemble the alternative.


If a top-level component marked with activation="startup" cannot be assembled or if a root container cannot be established, or there is a deployment failure for a root container or component or any of its dependents, then merlin will abort.


CONFIGURATION: I just realized I didn't haven an <include> for the block that defined the component and provided the configuration. But... I can't figure out how merlin even knew what class to load for that class from the lookup for the interface.


If you turn on debugging (using -debug) you will see a lot of information about what is actually happening. Early in the model creation process is the scanning phase during which Merlin collects information about available component types. This provides information about component type dependencies on services, and service the component type exports. Using service information Merlin can identify the available candidate supplier components and wire everything together automatically.

Stephen.


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


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



Reply via email to