This content has been marked as final.
Show 3 replies
-
1. Re: Deprecated Annotation DeploymentType
nickarls Aug 25, 2009 12:22 PM (in response to alexanderbell)They are @Alternative nowadays (in the soonish-to-be-released latest spec)
enabling:
<beans> <alternatives> <class>org.mycompany.myfwk.InMemoryDatabase</class> <stereotype>org.mycompany.myfwk.Mock</stereotype> <stereotype>org.mycompany.site.Australian</stereotype> </alternatives> </beans>
-
2. Re: Deprecated Annotation DeploymentType
alexanderbell Aug 25, 2009 1:21 PM (in response to alexanderbell)Ok, Alternative sound better than DeploymentType.
Does Alternative work in the same way like DeploymentType? -
3. Re: Deprecated Annotation DeploymentType
pmuir Aug 25, 2009 2:13 PM (in response to alexanderbell)It's slightly simpler - there is no precedence involved.
In trunk it's called @Policy and <policies> but that will be fixed for the PFD2 release.