Hi Timothy

I find the implicit dependency control in Merlin fascinating.  As a wish
list, I would very much like to be able to also have the explicit sequencing
control.

To give some idea, please see the following excerpt from a configuration
file.

Few notes about this excerpt:

1. startup: can have values automatic, manual or disabled, just like any
service in Windows or Linux
2. description: Some text that can be used by the
component/service/container to give user notification
3. name: is more or less equivalent to "type" in Merlin
4. id: is more or less equivalent to "key/source" in Merlin
5. bootSequence: pretty much primitive compared to Merlin's dependency
control, but could be an add-on to Merlin
6. groups: some times components/services like to find each other based on
groups they belong to, just like pc's in a sub-network
7. categories: another meta information that could be useful

Several of the above meta data are optional.

----------------------------------------------------------------------------
---------------
<container>

 <someTag>
     <id>SomeComponent</id>
     <name>SomeInterface</name>
     <description>XXXXXX</description>
     <startup>automatic</startup>         <categories>default,
someInterestingCategory</categories>

<className>com.edb.om.client.service.exception.ExceptionService</className>
     <bootSequence>2</bootSequence>
     <groups>default, someInterestingGroup</groups>
 </someTag>

 <someTag>
     <id>SomeOtherComponent</id>
     <name>SomeOtherInterface</name>
     <description>YYYYYYYYYYYYY</description>
     <startup>automatic</startup>
     <categories>default, someBoringCategory</categories>

<className>com.edb.om.client.service.actionmanager.ActionManagerService</cla
ssName>
     <bootSequence>23</bootSequence>
     <groups>default, someBoringGroup</groups>
 </someTag>

</container>

Best Regards

--
Nader Aeinehchi
Aasenhagen 66 E
2020 Skedsmokorset
NORWAY
Direct and Mobile +47 41 44 29 57
Tel (private): +47 64 83 09 08
Fax +47 64 83 08 07
www.aeinehchi.com

----- Original Message -----
From: "Timothy Bennett" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, April 20, 2004 11:55 PM
Subject: Re: Question: Sequence of execution in Merlin


> Nader Aeinehchi wrote:
> > Hello
> >
> > Within a root container, I managed to start two independent containers,
thanks to Merlin.
> >
> > However, I would very much like to have explicit control over the
sequence, namely which container starts first, second,...
> >
> > Is there anyway to control the sequence of execution?
> >
> > ps!
> > An explicit control could be useful for components and services?
> >
>
> No way at present (except by the creative use of explicit dependency
> directives).  However, this has been one of my *hotlist* wish items
> since my early days of using Phoenix.
>
> I, too, would like to see some component startup/shutdown sequencing
> control in merlin.
>
> Timothy
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


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

Reply via email to