1. Use of annotations requires Java 5. Ultimately we will all be
better off when Java 5 becomes standard, but I think this will take
some time.
there are a couple of alternatives to using annotations.
1) there is wicket-spring-cattr which uses commons attributes instead of annotations but involves a precompilation step
2) perform the injection yourself
annotations are all about metadata so there are a couple of different strategies you can use
for example name all the fields you want injected starting with svc and then write an ifieldvaluefactory to find all those fields and inject them. or just scan all the fields and see if you can find any matching services by their class - afaik that is the recommended way in osgi anyways. this search is done only once and then injectable fields are cached per class.
-Igor
_______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user