Can you point me to the code that is failing. The short of it is that you shouldn't use ComponentContext. If you show me the failing code I can offer a better solution or if needed a work around.
Darren > On Nov 5, 2013, at 4:18 PM, Prachi Damle <prachi.da...@citrix.com> wrote: > > Hi, > > Before the Spring modularization, we have some usecases that were using the > com.cloud.utils.component.ComponentContext class directly to inject or to > find a bean of given type or name by invoking ComponentContext :: > getComponent(). > How should these usecases be ported now after the modularization changes? > What should we use instead of ComponentContext, to say find beans of certain > type. > > This is the root cause for bug > https://issues.apache.org/jira/browse/CLOUDSTACK-5045 as the code is still > relying on ComponentContext > > Thanks, > Prachi