Hi,
dhol68 wrote: > > Hi, > > i have 2 question regarding aop: > > 1. If i have 2 cartridges used from a 3rd one and both of them have the > generator component registered with the same id, how can i configure my > advice to run only on one of them: > <workflow> > .. > <cartridge file="org/fornax/cartridges/uml2/my1.oaw" inheritAll="true"> > <!-- in this oaw file the generator is registered with the id > 'generator' --> > .... > </cartridge> > <cartridge file="org/fornax/cartridges/uml2/my2.oaw" inheritAll="true"> > <!-- in this oaw file the generator is registered with the id > 'generator' too --> > ..... > </cartridge> > > <!-- this advice should run only if the first cartridge is called --> > <component adviceTarget="?????" > id="reflectionAdvice" > class="oaw.xpand2.GeneratorAdvice"> > <advices value="........."/> > </component> > <!-- this advice should run only if the second cartridge is called --> > <component adviceTarget="??????" > id="reflectionAdvice" > class="oaw.xpand2.GeneratorAdvice"> > <advices value="......."/> > </component> > </workflow> > > To avoid this complications in the future, I renamed the generator component in the Hibernate Cartridge to: hibernateCartridge_generator -- View this message in context: http://www.nabble.com/Cartridge-calls.....-tf3454904s17564.html#a10282024 Sent from the Fornax-Platform mailing list archive at Nabble.com. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Fornax-developer mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fornax-developer
