You are viewing a plain text version of this content. The canonical link for it is here.
Posted to phoenix-dev@avalon.apache.org by Jim Alateras <ji...@intalio.com> on 2002/09/16 03:29:54 UTC
dynamic assembly
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.
cheers
</jima>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: dynamic assembly
Posted by Stephen McConnell <mc...@apache.org>.
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.
>>>
>>>
>>>
>>>
>>Yes to all of the above...
>>
>>http://jakarta.apache.org/avalon/excalibur/merlin
>>CVS: jakarta-avalon-excalibur/assembly
>>
>>
>>
>can I do it using the Phoenix container?
>
>
No, but you can run Merlin as an application inside Phoneix and put you
components under the Merlin container hierachy. Merlin will take care
of automatic assembly and you can do the dynamic installation of
components on-the-fly with full depedency resolution.
Cheers, Steve.
>
>cheers
></jima>
>
>--
>To unsubscribe, e-mail: <ma...@jakarta.apache.org>
>For additional commands, e-mail: <ma...@jakarta.apache.org>
>
>
>
>
>
--
Stephen J. McConnell
OSM SARL
digital products for a global economy
mailto:mcconnell@osm.net
http://www.osm.net
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
RE: dynamic assembly
Posted by Jim Alateras <ji...@intalio.com>.
> >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.
> >
> >
>
> Yes to all of the above...
>
> http://jakarta.apache.org/avalon/excalibur/merlin
> CVS: jakarta-avalon-excalibur/assembly
>
can I do it using the Phoenix container?
cheers
</jima>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: dynamic assembly
Posted by Stephen McConnell <mc...@apache.org>.
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.
>
>
Yes to all of the above...
http://jakarta.apache.org/avalon/excalibur/merlin
CVS: jakarta-avalon-excalibur/assembly
Cheers, Steve.
>cheers
></jima>
>
>
>--
>To unsubscribe, e-mail: <ma...@jakarta.apache.org>
>For additional commands, e-mail: <ma...@jakarta.apache.org>
>
>
>
>
>
--
Stephen J. McConnell
OSM SARL
digital products for a global economy
mailto:mcconnell@osm.net
http://www.osm.net
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: dynamic assembly
Posted by Peter Donald <pe...@apache.org>.
Hi,
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
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12402
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
right?
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
Connectors.
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.
--
Cheers,
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
engineer.
- Fred Brooks, Jr.
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>