[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: Annotation scanning

adrian@jboss.org do-not-reply at jboss.com
Tue Apr 22 05:53:56 EDT 2008


"adrian at jboss.org" wrote : "alesj" wrote : 
  |   | To address Kabir'rs issue I'd suggest something like:
  |   | 
  |   |   | public interface ClassVisitor
  |   |   | {
  |   |   |    void visit(URL classURL, String className, ClassLoader cl);
  |   |   | }
  |   |   | 
  |   | /quote]
  |   | 
  |   | Actually I'd suggest
  |   | 
  |   |   | public interface ClassVisitor
  |   |   | {
  |   |   |    void visit(ClassContext cc);
  |   |   | }
  |   |   | 
  |   | 
  |   | Then we can add new parameters and ease of use methods to ClassContext
  |   | as required. e.g. 
  |   | ClassContext.getBytes();
  |   | which will do all the work to open the stream and read the bytes from it.
  |   | 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4145748#4145748

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4145748



More information about the jboss-dev-forums mailing list