----- Original Message ----- 
From: "Matthias Bohlen" <[EMAIL PROTECTED]>
To: "'Chad Brandon'" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Monday, March 22, 2004 1:20 AM
Subject: PicoContainer


Hi Chad,

I got a little nervous when I saw in your commit comments that you use
PicoContainer in AndroMDA. I think this is a change in architecture that
you should have discussed on the list first because it may have an
influence on the milestone plan.

-- Sorry Matthis, guess I should have discussed first, but since I was
already using it in my work generator it was just so easy to pull over
...I'll discuss next time :) .  It will have ZERO impact on the milestone
plan because what its currently used for, it already in place.  I'm also not
currently taking advantage of most of its features (we can add that later if
we want).  If you take a look at the the ComponentContainer (the class that
wraps the use of PicoContainer) you'll see what I'm using it for.  I've
added a directory in the core called "META-INF/services" that contains files
for the pluggable services of AndroMDA (i.e.
org.andromda.core.repository.RepositoryFacade,
org.andromda.core.metafacades.MetafacadeModel,
org.andromda.core.metafacades.TemplateEngine, etc).  Each file contains the
default implementation class name.  So
org.andromda.core.repository.RepositoryFacade, contains
"org.andromda.repositories.mdr.MDRespositoryFacade",
org.andromda.core.metafacades.TemplateEngine contains
"org.andromda.templateengines.velocity.VelocityTemplateEngine, etc).   We
register and lookup these services from he ComponentContainer.  If there is
no service registered in the container, the default is used from its
associated service file.  This removed all the hard coded references to the
default implementation class names we were using, as well as makes it very
easy to change the default implementation.  So you can see from its current
use it won't have any impact on the milestone plan.

You may leave it in the code but explain it on the list, please, so that
I can see what it was used for. I know that we talked about it already
but that was months ago!

Cheers...
Matthias

---

Matthias Bohlen
"Consulting that helps project teams to succeed..."
http://www.mbohlen.de/





-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Andromda-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-devel

Reply via email to