wrt jclouds:
We switched almost every non-configuration class to JSR330 [1]. Internally, we make heavy use of guice providers and configuration modules, which would make arbitrarily switching to another DI engine or annotation system a lot of work.
I hope this helps.
-Adrian
jclouds
[1] some few injection points are still guice, since they aren't in JSR330 but in guice (ex. @Inject(optional=true) )
Are you 100% using 330 or are you Guice specific?In other words, would Weld work? (they don't use CGlib AFAIK).On 14 déc. 2009, at 13:30, Manik Surtani wrote:Thanks for sharing this info!_______________________________________________On 13 Dec 2009, at 23:18, philippe van dyck wrote:Hi all,_______________________________________________if you try to use jClouds or Infinispan S3 cache store with cglib, as does qi4j, you will probably receive an ugly exception telling you that cglib is nowhere to be found...The only way to get rid of it is by disabling guice's custom loader by adding this flag to your command line : -Dguice.custom.loader=falseYou will also need to add this library to your pom.xml<dependency><groupId>javax.inject</groupId><artifactId>javax.inject</artifactId><version>1</version></dependency>Hope it helps,Cheers,PhilippeP.S.: I spent hours trying to figure out what was happening since all the libs where on the classpath
infinispan-dev mailing list
infinispan-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/infinispan-dev--Manik SurtaniLead, InfinispanLead, JBoss Cache
infinispan-dev mailing list
infinispan-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/infinispan-dev
_______________________________________________
infinispan-dev mailing list
infinispan-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/infinispan-dev