All, HiveMind can now support AspectJ (with this extension)! Basically, you can wire AspectJ singleton Aspects with values from the HiveMind registry (and hard-coded values). All you have to do is contribute to a configuration point to get your Aspect wired (dropping the jar in the classpath helps too):
<module id="hivemind.aspectj.simple" version="1.0.0"> <contribution configuration-id="hivemind.aspectj.AspectClasses"> <aspect class="com.myco.MyAspect" > <set property="someProperty" value="someValue" /> <set-object property="myServiceProperty" value="service:someService"/> </aspect> </contribution> </module> Of course, autowiring is supported to. If you have a writable property for which there is exactly one matching service point in the HiveMind registry, it will be autowired. You can turn off autowiring like this: <module id="hivemind.aspectj.simple" version="1.0.0"> <contribution configuration-id="hivemind.aspectj.AspectClasses"> <aspect class="com.myco.MyAspect" autowire-services="false"> <set property="someProperty" value="someValue" /> <set-object property="myServiceProperty" value="service:someService"/> </aspect> </contribution> </module> The code is located as a subproject of the javaforge-hivemind project. You can access it via svn at: http://svn.javaforge.com/svn/hivemind/hivemind-aspectj/trunk The username/password is anonymous/anon. It builds using Maven2. Enjoy! James --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]