Hello,
 
First, some background: I have an existing code base implemented based on 
merlin which I would like to extend. This code base defines a number of 
services which for which I would like to extend the functionality. I would like 
to do this in such a way that will allow the original code and my extensions to 
be kept distinct as possible.
 
One thing I could do is directly modify the original classes and add in my own 
code. But this way, I would have to re-build the original code and my code 
becomes part of it. If possible, I would like much more separation.
 
Is it possible, for example to have two implementations of the same service and 
have both of them be called. My block.xml has lines like this:
 
...
   <component name="some.service" class="a.b.SomeImpl" activation="lazy"/>...
 
Now, I want to write my own implementation, x.y.SomeImp. Could I do something 
that will cause the original implementation to be called first and then my 
implementation be somehow called? Is it possible to not have to re-compile the 
original code and have my code in a separate jar and still be called when the 
service is needed?
 
Sorry if this is confusing. I'm new to merlin. I appreciate any insights. Thank 
you.

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Reply via email to