I had this working yesterday and never touched componentContext.xml … I did a git pull this morning, and everything broke. I'm going off the current documentation and some notes that Rohit++ sent me. The current documentation does not mention anything about componentContext.xml:
https://cwiki.apache.org/confluence/display/CLOUDSTACK/CloudStack+API+Development On Apr 4, 2013, at 2:27 PM, Kelven Yang <kelven.y...@citrix.com> wrote: > I have organized the componentContext.xml to be in plugin friendly style, > I'll add a updated document for this as well. will commit to 4.1 today > > Kelven > > On 4/4/13 1:24 PM, "Alex Huang" <alex.hu...@citrix.com> wrote: > >> Ryan, >> >> Did you add it to componentscontext.xml? >> >> --Alex >> >>> -----Original Message----- >>> From: Ryan Dietrich [mailto:r...@betterservers.com] >>> Sent: Thursday, April 4, 2013 1:16 PM >>> To: dev@cloudstack.apache.org >>> Subject: Re: Plugin woes... >>> >>> Oh, I should mention I did this on the 4.1 branch. >>> >>> On Apr 4, 2013, at 2:10 PM, Ryan Dietrich <r...@betterservers.com> >>> wrote: >>> >>>> I have written a test plugin, but it is not being picked up by spring. >>>> >>>> Specifically, I am looking at ApiDiscoveryServiceImpl.java >>>> >>>> @Inject protected List<PluggableService> _services = null; My newly >>>> created @Component is now showing up in this list and I'm not sure >>> why. >>>> >>>> I'd like to add this to the wiki on plugins, but as it doesn't work >>> anymore, I'd >>> like to get it fixed first. >>>> >>>> http://pastebin.com/Yz8Yc18n >>>> >>>> >> >