I was told that if I used:

@Component 

on the object that extended PluggableService I did not have to add it to 
componentsContext.xml ..
Side note, given that I'm using Jetty, does that even get touched? (it's in a 
tomcat client configuration directory)

On Apr 4, 2013, at 2: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
>>> 
>>> 
> 

Reply via email to