I will answer to your question tomorrow morning but I see that it should be
interesting to add a @TODO annotation in order to follow/keep track of the
TODO remarks of the code ;-)

http://rskommu.wordpress.com/2007/12/28/introducing-annotation-processing-tool-apt-in-jdk15-beta2/



James.Strachan wrote:
> 
> 2008/12/23 cmoulliard <cmoulli...@gmail.com>:
>>
>> I have started to understand how the BeanInfo and MethodInfoCache classes
>> works.
>>
>> I see that the ProxyHelper will call MethodInfoCache
>>
>>    public static <T> T createProxy(Endpoint endpoint, ClassLoader cl,
>> Class<T>... interfaceClasses) throws Exception {
>>        return (T) createProxy(endpoint, cl, interfaceClasses,
>> createMethodInfoCache(endpoint));
>>    }
>>
>> in order to create the cache for the method and class but I don't see
>> how/who is calling the ProxyHelper class and How the classes (to be
>> scanned)
>> are passed ?
> 
> There are a few different entry points for this code based on use case
> (using proxies / spring remoting versus invoking a bean in the DSL or
> via annotations etc).
> 
> In your case, I'd add the hooks to scan packages/classes for
> annotations to your custom DataFormat? Rather like with JAXB or
> XStream you can configure a list of classes/packages, you'd be doing
> something similar right?
> 
> -- 
> James
> -------
> http://macstrac.blogspot.com/
> 
> Open Source Integration
> http://fusesource.com/
> 
> 


-----
Charles Moulliard
SOA Architect

My Blog :  http://cmoulliard.blogspot.com/ http://cmoulliard.blogspot.com/  
-- 
View this message in context: 
http://www.nabble.com/Advise-on-%40Annotation---Reflection-%21%21-tp21141422s22882p21147271.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to