avalon-phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <pe...@apache.org>
Subject Re: dynamic assembly
Date Tue, 17 Sep 2002 11:31:16 GMT

On Mon, 16 Sep 2002 11:29, Jim Alateras wrote:
> Is it possible to dynamically add blocks without specifying them in the
> assmebly.xml file. I my particular example I have a ConnectionManager,
> which is defined in the assmebly.xml file. There is also a set of
> connectors, which are not defined in the assembly file but derived at
> runtime. The connectors will implement a number of Avalon interfaces
> including
> Serviceable, Configurable, Initializable and Startable.
> Is it possible to configure these blocks including their dependencies at
> runtime.

I am not entirely sure what you mean. There will be dynamic assembly in the 
next beta but it is of a different kind than what you are talking about. It 
is described at 


However this does not seem to be what you are after. It seems you want to be 
able to host another container (effectively a Connector container). Is this 

Do any top level blocks depend upon these Connectors? If so then you are 
probably going to have to implement them in a way similar to how 
SocketManager operates. ie Have a ConnectorManager and have the other blocks 
depend on it and have those blocks use ConnectorManager to lookup the 

If no block depends on a Connector (but some Connectors may depend on blocks) 
then it may be best to implement this as a "sub-container". At the moement 
this is not well supported. It is on the agenda for implementation after the 
next release but that could be a while off.


Peter Donald
Einstein argued that there must be simplified explanations of nature, because
God is not capricious or arbitrary.  No such faith comforts the software
- Fred Brooks, Jr.

To unsubscribe, e-mail:   <mailto:avalon-phoenix-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-phoenix-dev-help@jakarta.apache.org>

View raw message