Hi!
I'm having a problem with a bean that doesn't get injected into one of my classes.
The class extends AbstractView implements ActionListener, ApplicationListener, ExecutorParent. AbstractView implements ActionListener, ApplicationListener, ExecutorParent<Image>
It has some services that are defined in client-context.xml like this:I want to add a controller to handle search, so i made a class that uses compass to do search.Code:<bean id="articleService" class="org.springframework.remoting.httpinvoker.HttpInvokerProxyFactoryBean"> <property name="serviceUrl" value="https://${serverName}:${httpPort}${contextPath}/articleService"/> <property name="serviceInterface" value="no.dusken.pegadi.service.ArticleService"/> </bean>
The problem is that the bean doesnt get injected. The controller is defined just like all the other services that do get injected.
And the searchController bean is made, i can reach it through getApplicationContext().
Anyone have any idea what can be the cause of this?


Reply With Quote