1 Reply Latest reply: May 9, 2012 5:14 AM by Tomaz Cerar RSS

spring with jboss

newbie24 Newbie

Hi,

 

I have some doubts with spring integrated in jboss.

 

There are many application context xml files.

 

I'm using @Inject to inject a bean.

Now if my xml has spring integration modules like "ftp -channel addapter" , there is no bean but I have to resolve the channels in the adapters.

For this purpose I need the application contxt and I think I should be using BeanFactoryChannelResolver to pass the application context and then get the channel resolver.

 

How do I get the application context.

 

Please help .

 

Thanks