geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hiram Chirino <>
Subject Configuration plan 'import' feature.
Date Mon, 26 Apr 2004 14:54:14 GMT
Hi Dain,

The other day we talked on IRC about how the current deployment system 
does not allow a configuration to
'mash' together other configurations.  So i implemented an 'import' 
feature in the deployment configuration.  This import feature will allow 
a configuration to specify a list of other configuration to start before 
this one.

I call the feature 'import' because it sets up the Configuration's 
classloader to also search for classes using the classloaders of the 
imported configuration.

Cycles are not allowed the import graph of a set of configurations.  
When the configuration is loaded, the implementation checks for cycles 
and throws errors if one is detected.

Anyways..  bellow you will find a simple example of a configuration 
snipplet that uses the 'import' feature.  Before committing this code to 
CVS, I want to check with you guys if this 'import' feature is something 
you want to add.  And if you want me to add it before the initial 
geronimo release.

    <import configId="org/apache/geronimo/SomeOtherConfig"/>
    <import configId="org/apache/geronimo/AnotherConfig"/>



View raw message