-
Sep 10th, 2010, 09:52 AM
#1
Why is applicationContext private?
Is there a reason the applicationContext in AbstractAmqpConfiguration is private? I'm trying to configure a spring-amqp project and I'm having to override setApplicationContext to get my own reference to the appCtx (in addition to the one managed by the base class for use in automagically declaring queues/exchanges, etc...)
I'm trying to separate things that can be configured on a per-system basis into an XML config file and use the annotation configuration for other stuff. But to configure my beans in the annotation configuration-powered bean, I need to access things that have already been configured in my XML file (like connectionfactory et al).
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules