-
Mar 1st, 2013, 04:20 AM
#1
DI based on @Profile
Hi All,
I wannna configure my system like below.
I have 3 profiles in my system (client1,cleint 2,client 3)
I have 2 implementations for a interface each defined under profile (client1 ,client 2)
The problem is that my current active profile is "client 3" , and there is no bean implementation under this profile for the above bean, so want my system to use bean from profile "client1" automatically.
How can I achieve it.
Thanks in advance.
-
Mar 1st, 2013, 11:39 AM
#2
Configure the bean outside the profile and override that definition for client2 only...
Tags for this Thread
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