I had an idea of how we could add annotation support quite easily.  What if
we wrote an APT AnnotationProcessorFactory that generated a hivemodule.xml
file based on annotations in your implementation classes?  We could have it
read the original hivemodule.xml file and insert stuff into it using DOM or
something (they do this currently in Trails).  There are going to be some
things that you just can't do with annotations (configurations come to
mind).  But, we could have stuff like...

@ServiceImplementation
@InjectConfiguration
@Interceptor

I was going to do this on my current project to automatically insert
transaction interceptors into my service points if the implementation class
has methods on it marked with @Transactional attributes.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to